Need help with Nating on a Juniper Netscreen 5gt please.

Posted on 2007-10-02
Last Modified: 2013-11-16
Ok the network admin has left the company and I am now here trying to figure out how to get all of this to work lol. here is the layout of our network. We currently have around 45 hospitals that connect into our data center. Our data center as a Cisco 3030 concentrator to host the VPN's and the hospitals all have a juniper netscreen 5gt onsite that the VPN goes into. Each hospital has a VPN that goes from their juniper to the concentrator. Any vendors that are trying to connect to the hospital come into the concentrator and we route them to the right VPN tunnel aka the hospitals VPN tunnel and then forward the traffic through that. As you know you can only have on IP subnet on the network so there is some NATing going on. From what I was told is that the junipers handle the Nating but the interfaces are not in nat mode. The only thing I can tell from the configuration of them is the ipsec VPN tunnel does a nat on it but some of the hospitals have multiple networks behind the trust interface. (all hospitals are setup in a untrust, trust interface mode.) from what I was told when asking about the NATS is that the nats are a one to one thing. So a address would be a address after the NAT. he has also made mention of using policy based NATing but I dont see any evidence of that but then again I have no idea what I am looking for lol. there are two hospitals I need help with that I know is doing nating. One vendor needs access to a network that is not even defined on the trust interface which I am assuming something beyond the juniper does the routing for that, but they need access to it and I know it is natted but is there a way to confirm the address it is suppose to be natting to.
The other hospital has a few things they need done, one is to give them the nat address for some IP addresses they have sent over. If it is one to one then that is easy but no where in the juniper can I find what network it is suppose to be natted for. I was reading up about DIPs to do natting but that is not how it has been done so there has to be another way he was doing it. I need help figuring out how he went about doing the natting for these two hospitals. I can send over a copy of the config file if needed just let me know what your email address is. for hippa reasons I dont want to post it on the site.
Also if anyone knows of a list of commands for the netscreen in the command line interface that would be great, all I can find on the internet is the unknown commands and what not but I need to know the known ones first lol. if anyone can help out that would be greatly appreciated.
Question by:ngsta
    LVL 9

    Expert Comment

    by:David Piniella
    to find the NATs (in Juniper-speak, what you're talking about is a MIP ( Mapped IP ), login to the GUI and go to Interfaces, choose your interface (either trust or untrust...probably untrust) and select "edit". from there, up at the top, there's a link called MIP -- select that and you should see the mappings.

    juniper vpn's can be route-based or policy based -- route-based are probably what you're used to, policy-based have to have traffic that matches a policy in your trust>untrust or untrust>trust etc etc policies in order for the VPN to come up.

    LVL 9

    Accepted Solution

    oh, the CLI commands you're looking for are

    get interface
    get config

    and if you want to find where in the config the IP is being used, you can do

    get config | incl

    and that will show you where it's setup in your config.
    LVL 5

    Assisted Solution

    ok, a dip is used for source translation like you want everything from to look like A MIP is for destination translation you want to go to You need a policy to execute these as well.
    Could you please log into the firewall through telnet and do a get policy? This should tell you what policies you have and what kind of authentication they are using, etc. I would also call juniper and have them help you with this as well. And also get the Configuring juniper Networks Netscreen & SSG Firewalls book as soon as possible. If you want me to look at the config file, I am availible at
    LVL 5

    Expert Comment

    Please list what version of the ScreenOS you are looking at as well.
    LVL 9

    Expert Comment

    by:David Piniella
    question was answered, user abandoned it; points should be split.

    Author Comment

    sorry guys I had a family emergency.  Please split the points
    LVL 1

    Expert Comment

    Forced accept.

    EE Admin

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    What’s a web proxy server? A proxy server is a server that goes between clients and web servers, used in corporate to enforce corporate browsing policy and ensure security. Proxy servers are commonly used in three modes. A)    Forward proxy …
    Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
    Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now