Juniper SRX210 Series Manual page 148

Services gateway
Hide thumbs Also See for SRX210 Series:
Table of Contents

Advertisement

SRX210 Services Gateway Hardware
130
Configure the default route.
11.
[edit]
admin@# set routing-options static route 0.0.0.0/0 next-hop gateway
Configure basic security zones and bind them to traffic interfaces.
12.
[edit]
admin@# set security zones security-zone untrust interfaces ge-0/0/1
Configure basic security policies.
13.
[edit]
admin@# set security policies from-zone trust to-zone untrust policy policy-name
match source-address any destination-address any application any
admin@# set security policies from-zone trust to-zone untrust policy policy-name
then permit
Create a NAT rule for source translation of all Internet bound traffic.
14.
[edit]
admin@# set security nat source rule-set interface-nat from zone trust
admin@# set security nat source rule-set interface-nat to zone untrust
admin@# set security nat source rule-set interface-nat rule rule1 match source-address
0.0.0.0/0 destination-address 0.0.0.0/0
admin@# set security nat source rule-set interface-nat rule rule1 then source-nat
interface
Check the configuration for validity.
15.
[edit]
admin@# commit check
configuration check succeeds
Commit the configuration to activate it on the device.
16.
[edit]
admin@# commit
commit complete
Optionally, display the configuration to verify that it is correct.
17.
[edit]
user@host# show
system {
host-name devicea;
domain-name lab.device.net;
domain-search [ lab.device.net device.net ];
backup-device 192.168.2.44;
time-zone America/Los_Angeles;
root-authentication {
ssh-rsa "ssh-rsa AAAAB3Nza...D9Y2gXF9ac==root@devicea.lab.device.net";
}
name-server {
10.148.2.32;
}
services {
}
ntp {
server 10.148.2.21;
}
Copyright © 2012, Juniper Networks, Inc.

Advertisement

Table of Contents
loading

Table of Contents