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
Solved

NAT on Juniper SSG-350 Firewall

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

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…
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
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…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

856 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