Solved

NAT on Juniper SSG-350 Firewall

Posted on 2011-09-13
5
2,017 Views
Last Modified: 2012-05-12
Hello Experts,

i want to configure one to one NAT (MIP) on SSG juniper.

 NAT any traffic of 184.235.148.213 port:8088  (untrust eth0/0.1)
Transfer to private ip 10.150.1.57 port :8088 (trust eth0/3)

i need the CLI command configurations.
i am new to juniper any help will be greatly appriciate.
0
Comment
Question by:osloboy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 69

Expert Comment

by:Qlemo
ID: 36529591
A MIP is a one-to-one translation of an IP address. Port translation does not take place. If you want to use incoming connections only, and only on that single port forwarded to a private IP, you need to define a VIP instead.
So what is the purpose? Did you define a policy yet?
0
 

Author Comment

by:osloboy
ID: 36530630
Hi Qlemo, yes you are right with Mip there is no option for the ports. and we have to define VIP if we want ports. so far no policy define on the box. just trust and untrust zones.
can u send me the snapshot for VIP or cli configuraton for the VIP.

0
 
LVL 69

Accepted Solution

by:
Qlemo earned 500 total points
ID: 36531763
That should be all needed. Replace "Your Service" with something useful, like "External WebAccess".
set service "Your Service" protocol tcp src-port 0-65535 dst-port 8088-8088
set interface eth0/0.1 vip interface-ip 8088 "Your Service" 10.150.1.57 manual
set pol top name "Your Service" from Untrust to Trust Any-IPv4 "VIP(eth0/0.1)" "Your Service" permit log count

Open in new window

The VIP definition will use the public IP configured for your Untrust interface ("interface-ip").
The policy is set up on top of any other policy. That is a good idea for start, as it makes sure the policy is applied first, before any deny policy might apply. Further it is logging each access, and keeping bytes statistics ("count"). You can switch that off, if you like, but in particular logging is useful for debugging.

BTW, using the WebUI would need exactly the same steps as the CLI.
0
 

Author Comment

by:osloboy
ID: 36532455
thanks Qlemo for your reply.
would u please mention me what is meant by " your service" ?
or its the traffic protocol that i want to allow?

i ask for the CLI config becasue i am unable to access the device through WEbUI.
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 36532631
"Your Service" is just a name you choose for identifying that service and the respective policy - for you and others having to manage the firewall. You can name that as you like.
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), 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…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

756 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