Solved

NAT on Juniper SSG-350 Firewall

Posted on 2011-09-13
5
1,985 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
  • 3
  • 2
5 Comments
 
LVL 68

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 68

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 68

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Imagine you have a shopping list of items you need to get at the grocery store. You have two options: A. Take one trip to the grocery store and get everything you need for the week, or B. Take multiple trips, buying an item at a time, to achieve t…
The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
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…
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…

707 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

20 Experts available now in Live!

Get 1:1 Help Now