admin@srxA-2# show | no-more ## Last changed: 2014-07-26 14:01:54 UTC version 11.2R4.3; system { host-name srxA-2; root-authentication { encrypted-password "$1$PfKrOM7G$eOBF9b1hhEHQav01viIec/"; ## SECRET-DATA } name-server { 208.67.222.222; 208.67.220.220; } login { user admin { uid 2004; class super-user; authentication { encrypted-password "$1$c/vosaZw$tHGmBIDI5lZJyiwyQ8w9L/"; ## SECR ET-DATA } } } services { ssh; telnet; xnm-clear-text; web-management { http { interface vlan.0; } https { system-generated-certificate; interface vlan.0; } } dhcp { router { 192.168.1.1; } pool 192.168.1.0/24 { address-range low 192.168.1.2 high 192.168.1.254; } propagate-settings fe-0/0/0.0; } } syslog { archive size 100k files 3; user * { any emergency; } file messages { any critical; authorization info; } file interactive-commands { interactive-commands error; } } max-configurations-on-flash 5; max-configuration-rollbacks 5; license { autoupdate { url https://ae1.juniper.net/junos/key_retrieval; } } } interfaces { fe-0/0/0 { unit 0 { family inet { dhcp; } } } fe-0/0/3 { unit 0 { family inet { address 172.18.2.2/30; } } } fe-0/0/4 { vlan-tagging; unit 102 { description "connection to vr102"; vlan-id 102; family inet { address 172.20.102.1/24; } } unit 202 { description "connection to vr202"; vlan-id 202; family inet { address 172.20.202.1/24; } } } lo0 { unit 0 { family inet { address 192.168.2.1/32; } } } st0 { unit 0 { family inet { address 192.168.100.2/32; } } } } routing-options { static { route 0.0.0.0/0 next-hop 172.18.2.1; route 172.20.201.0/24 next-hop st0.0; } } protocols { stp; } security { ike { proposal phase1 { authentication-method pre-shared-keys; dh-group group2; authentication-algorithm md5; encryption-algorithm 3des-cbc; lifetime-seconds 86400; } policy phase1-policy { mode main; proposals phase1; pre-shared-key ascii-text "$9$rsqKWxbs4Di.Ndi.P56/lKM"; ## SECRET-DA TA } gateway phase1-gateway { ike-policy phase1-policy; address 172.18.1.2; dead-peer-detection { interval 20; threshold 5; } external-interface fe-0/0/3.0; } } ipsec { proposal phase2 { protocol esp; authentication-algorithm hmac-md5-96; encryption-algorithm 3des-cbc; lifetime-seconds 3200; } policy phase2-policy { perfect-forward-secrecy { keys group2; } proposals phase2; } vpn to-remote-SRX { bind-interface st0.0; ike { gateway phase1-gateway; ipsec-policy phase2-policy; } establish-tunnels immediately; } } screen { ids-option untrust-screen { icmp { ping-death; } ip { source-route-option; tear-drop; } tcp { syn-flood { alarm-threshold 1024; attack-threshold 200; source-threshold 1024; destination-threshold 2048; timeout 20; } land; } } } policies { from-zone Juniper-WF to-zone Juniper-WF { policy intrazone_Juniper-WF { match { source-address any; destination-address any; application any; } then { permit; } } } from-zone ACME-WF to-zone ACME-WF { policy intrazone-ACME-WF { match { source-address any; destination-address any; application any; } then { permit; } } } from-zone Juniper-WF to-zone untrust { policy internet-Juniper-WF { match { source-address vr102; destination-address any; application any; } then { permit; } } } from-zone ACME-WF to-zone untrust { policy internet-ACME-WF { match { source-address vr202; destination-address any; application any; } then { permit; } } } from-zone untrust to-zone Juniper-WF { policy Juniper-SV-to-Juniper-WF { match { source-address vr101; destination-address vr102; application any; } then { permit; } } } from-zone untrust to-zone ACME-WF { policy webserver { match { source-address srxA-1; destination-address vr202; application [ junos-telnet junos-http junos-ping ]; } then { permit; } } policy ipsec { match { source-address vr201; destination-address any; application any; } then { permit; } } } } zones { functional-zone management { interfaces { fe-0/0/0.0 { host-inbound-traffic { system-services { all; } } } } } security-zone untrust { address-book { address vr101 172.20.101.0/24; address vr201 172.20.201.0/24; address srxA-1 172.18.1.0/30; address internet-host 172.31.15.1/32; } host-inbound-traffic { system-services { all; } } interfaces { fe-0/0/3.0; st0.0 { host-inbound-traffic { system-services { ike; } } } } } security-zone Juniper-WF { address-book { address vr102 172.20.102.0/24; } host-inbound-traffic { system-services { ping; } } interfaces { fe-0/0/4.102; } } security-zone ACME-WF { address-book { address vr202 172.20.202.0/24; } host-inbound-traffic { system-services { ping; } } interfaces { fe-0/0/4.202; } } } }