Username: root Password: juniper123 version 18.4R1-S3.1; system { root-authentication { encrypted-password "$6$WEwPS3TX$ixOgnoEMyzDadR63Fl6EEFePyeFJdkziBdggfiEtDPTqvGXWYGYrelwtA32/.bbATwNKJ8s89HqVbON9cF5oi1"; ## SECRET-DATA } host-name vSRX2; } security { nat { source { rule-set Overload { from zone TRUST; to zone UNTRUST; rule Overload { match { destination-address 0.0.0.0/0; } then { source-nat { interface; } } } } } } policies { from-zone TRUST to-zone UNTRUST { policy LAB { match { source-address any; destination-address any; application any; } then { permit; } } } } zones { security-zone TRUST { interfaces { ge-0/0/0.0; } } security-zone UNTRUST { interfaces { ge-0/0/2.0; } } } } interfaces { ge-0/0/0 { unit 0 { family inet { address 198.51.100.2/24; address 198.51.100.102/24 { preferred; } } } } ge-0/0/2 { unit 0 { family inet { address 203.0.113.2/24; address 204.0.113.2/24 { primary; } } } } } routing-options { static { route 0.0.0.0/0 next-hop 203.0.113.1; } } set version 18.4R1-S3.1 set system root-authentication encrypted-password "$6$WEwPS3TX$ixOgnoEMyzDadR63Fl6EEFePyeFJdkziBdggfiEtDPTqvGXWYGYrelwtA32/.bbATwNKJ8s89HqVbON9cF5oi1" set system host-name vSRX2 set security nat source rule-set Overload from zone TRUST set security nat source rule-set Overload to zone UNTRUST set security nat source rule-set Overload rule Overload match destination-address 0.0.0.0/0 set security nat source rule-set Overload rule Overload then source-nat interface set security policies from-zone TRUST to-zone UNTRUST policy LAB match source-address any set security policies from-zone TRUST to-zone UNTRUST policy LAB match destination-address any set security policies from-zone TRUST to-zone UNTRUST policy LAB match application any set security policies from-zone TRUST to-zone UNTRUST policy LAB then permit set security zones security-zone TRUST interfaces ge-0/0/0.0 set security zones security-zone UNTRUST interfaces ge-0/0/2.0 set interfaces ge-0/0/0 unit 0 family inet address 198.51.100.2/24 set interfaces ge-0/0/0 unit 0 family inet address 198.51.100.102/24 preferred set interfaces ge-0/0/2 unit 0 family inet address 203.0.113.2/24 set interfaces ge-0/0/2 unit 0 family inet address 204.0.113.2/24 primary set routing-options static route 0.0.0.0/0 next-hop 203.0.113.1