Juniper SRX110 Manual page 143

Services gateway hardware
Hide thumbs Also See for SRX110:
Table of Contents

Advertisement

Copyright © 2012, Juniper Networks, Inc.
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
root@# 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;
}
}
interfaces {
fe-0/0/0 {
unit 0 {
family inet {
address 192.168.1.1/24;
}
}
Chapter 17: Configuring Basic Settings
125

Advertisement

Table of Contents
loading

Table of Contents