[
Contents]
[
Prev]
[
Next]
[
Index]
[
Report an Error]
CLI Configuration
- user@host# set security nat destination-nat one-addr-dst-nat
address 20.1.1.1
- user@host# set security nat destination-nat addr-range-dst-nat
address-range low 30.1.1.10 high 30.1.1.255
- user@host# set security nat destination-nat addr-and-port-dst-nat
address 40.1.1.1 port 8080
- user@host# set security policies from zone Red to-zone
Green policy dst-nat-policy-1 match source-address any
- user@host# set security policies from zone Red to-zone
Green policy dst-nat-policy-1 match destination-address 2.1.1.0/24
- user@host# set security policies from zone Red to-zone
Green policy dst-nat-policy-1 match application any
- user@host# set security policies from zone Red to-zone
Green policy dst-nat-policy-1 then permit destination-nat one-address-nat
- user@host# set security policies from zone Red to-zone
Green policy dst-nat-policy-2 match source-address any
- user@host# set security policies from zone Red to-zone
Green policy dst-nat-policy-2 match destination-address 3.1.1.0/24
- user@host# set security policies from zone Red to-zone
Green policy dst-nat-policy-2 match application any
- user@host# set security policies from zone Red to-zone
Green policy dst-nat-policy-2 then permit destination-nat addr-range-dst-nat
- user@host# set security policies from zone Red to-zone
Green policy dst-nat-policy-3 match source-address any
- user@host# set security policies from zone Red to-zone
Green policy dst-nat-policy-3 match destination-address 4.1.1.0/24
- user@host# set security policies from zone Red to-zone
Green policy dst-nat-policy-3 match application junos-http
- user@host# set security policies from zone Red to-zone
Green policy dst-nat-policy-3 then permit destination-nat addr-and-port-dst-nat
[
Contents]
[
Prev]
[
Next]
[
Index]
[
Report an Error]