## Last changed: 2012-05-14 22:45:32 UTC version 11.1R1.10; system { time-zone UTC; root-authentication { encrypted-password "$1$0Z8s7wiS$69zJ2N92JEiCWY6snFMFO/"; } name-server { 208.67.222.222; 208.67.220.220; 8.8.8.8; } services { ssh; telnet; xnm-clear-text; web-management { http { interface [ vlan.0 fe-0/0/0.0 ]; } https { system-generated-certificate; interface [ vlan.0 fe-0/0/0.0 ]; } } dhcp { 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 { address 176.x.x.50/30; } } } fe-0/0/1 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } fe-0/0/2 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } fe-0/0/3 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } fe-0/0/4 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } fe-0/0/5 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } fe-0/0/6 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } fe-0/0/7 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } st0 { unit 0 { family inet; } } vlan { unit 0 { family inet { address 192.168.10.1/24; } } } } routing-options { static { route 0.0.0.0/0 next-hop 176.x.x.49; route 172.17.0.0/16 next-hop st0.0; } } protocols { stp; } security { ike { traceoptions { file kmd; flag all; } proposal p1-3des { authentication-method pre-shared-keys; dh-group group2; authentication-algorithm sha1; encryption-algorithm 3des-cbc; lifetime-seconds 28800; } policy ike-policy-001 { mode main; proposals p1-3des; pre-shared-key ascii-text "$9$kq5Fn6A1RSHq0IclLXaZUj.PQz6"; } gateway gw001 { ike-policy ike-policy-001; address 195.x.x.178; local-identity inet 176.x.x.50; external-interface fe-0/0/0.0; } } ipsec { traceoptions { flag all; } proposal p2-3des { protocol esp; authentication-algorithm hmac-sha1-96; encryption-algorithm 3des-cbc; lifetime-seconds 3600; } policy ipsec-policy-001 { perfect-forward-secrecy { keys group2; } proposals p2-3des; } vpn vpn001 { bind-interface st0.0; vpn-monitor; ike { gateway gw001; proxy-identity { local 192.168.10.0/24; remote 172.17.0.0/16; service any; } ipsec-policy ipsec-policy-001; } establish-tunnels immediately; } } flow { traceoptions { flag all; } } 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; } } } nat { source { rule-set trust-to-untrust { from zone trust; to zone untrust; rule source-nat-rule { match { destination-address 0.0.0.0/0; } then { source-nat { interface; } } } } } } policies { from-zone trust to-zone untrust { policy trust-to-untrust { match { source-address any; destination-address any; application any; } then { permit; } } } } traceoptions { flag routing-socket; } zones { security-zone trust { host-inbound-traffic { system-services { all; } protocols { all; } } interfaces { vlan.0 { host-inbound-traffic { system-services { all; } protocols { all; } } } st0.0 { host-inbound-traffic { system-services { all; } protocols { all; } } } } } security-zone untrust { screen untrust-screen; interfaces { fe-0/0/0.0 { host-inbound-traffic { system-services { tftp; ike; } } } } } } } vlans { vlan-trust { vlan-id 3; l3-interface vlan.0; } }