Home > Cisco, Juniper, SRX210 > How to install SRX210 from Juniper. Port forwarding and Nat configuration

How to install SRX210 from Juniper. Port forwarding and Nat configuration

You have SRX210 or SRX100 or similar SRX series gateways. You want to do port forwarding from 1 public ip to any lan ip. Then you have to do the following steps:

$ssh root@192.168.1.1

root@srx210% cli
root@srx210> configure
Entering configuration mode

[edit]
root@srx210# rollback 0
set security nat destination pool server1 address 192.168.1.2/32
set security nat destination rule-set ruleset1 from zone untrust
set security nat destination rule-set ruleset1 rule rule1 match destination-address 0.0.0.0/0
set security nat destination rule-set ruleset1 rule rule1 match destination-port 9001
set security nat destination rule-set ruleset1 rule rule1 then destination-nat pool server1
root@srx210# commit
root@srx210# exit
Advertisements
Categories: Cisco, Juniper, SRX210
  1. Robert
    July 27, 2011 at 7:52 am

    Maybe you missed the firewall setup in this post or is there none?

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: