Solved

NAT on Juniper SSG-350 Firewall

Posted on 2011-09-13
5
2,039 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 70

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 70

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 70

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
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. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
Suggested Courses

617 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