Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

NAT on Juniper SSG-350 Firewall

Posted on 2011-09-13
5
Medium Priority
?
2,070 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 71

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 71

Accepted Solution

by:
Qlemo earned 2000 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 71

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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This past year has been one of great growth and performance for OnPage. We have added many features and integrations to the product, making 2016 an awesome year. We see these steps forward as the basis for future growth.
In this article, WatchGuard's Director of Security Strategy and Research Teri Radichel, takes a look at insider threats, the risk they can pose to your organization, and the best ways to defend against them.
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…

971 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