## Last commit: 2012-07-26 23:15:10 UTC by root version 10.4R6.5; system { host-name vpn02.khondrion.com; root-authentication { encrypted-password "$1$LiGSZMgC$5OBSctEj8tzUzOYp1FD6q/"; ## SECRET-DATA } name-server { 208.67.222.222; 208.67.220.220; } services { ssh; telnet; xnm-clear-text; web-management { http { interface all; } https { system-generated-certificate; interface [ fe-0/0/0.0 vlan.0 all ]; } } dhcp { name-server { 8.8.8.8; 8.8.4.4; } pool 172.16.0.1/24 { address-range low 172.16.0.10 high 172.16.0.250; maximum-lease-time 86400; default-lease-time 43200; name-server { 8.8.8.8; 8.8.4.4; } router { 172.16.0.1; } } 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 131.174.196.75/24; } } } fe-0/0/1 { unit 0 { family ethernet-switching { port-mode access; 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 { description "tunnel interface"; unit 0 { family inet { address 172.16.0.251/24; } } } vlan { unit 0 { family inet { address 172.16.0.1/24; } } } } routing-options { static { route 0.0.0.0/0 next-hop 131.174.196.1; route 172.16.1.0/24 next-hop st0.0; } } protocols { stp; } security { ike { policy ike-khondrion { mode aggressive; proposal-set compatible; pre-shared-key ascii-text "$9$Le0NVsGUHTz6Uj.5zFtpcylMX-UDkqP5aJ"; ## SECRET-DATA } gateway ike-khondrion-gateway { ike-policy ike-khondrion; address 87.233.139.160; external-interface fe-0/0/0; } } ipsec { policy ipsec-khondrion { perfect-forward-secrecy { keys group2; } proposal-set compatible; } vpn ipsec-khondrion-gateway { bind-interface st0.0; ike { gateway ike-khondrion-gateway; ipsec-policy ipsec-khondrion; } establish-tunnels immediately; } } nat { source { rule-set trust-to-untrust { from zone trust; to zone untrust; rule source-nat-rule { match { source-address 0.0.0.0/0; } then { source-nat { interface; } } } } } } 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; } } } zones { security-zone trust { host-inbound-traffic { system-services { all; } protocols { all; } } interfaces { vlan.0 { host-inbound-traffic { system-services { all; } protocols { all; } } } fe-0/0/1.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; host-inbound-traffic { system-services { all; } protocols { all; } } interfaces { fe-0/0/0.0 { host-inbound-traffic { system-services { dhcp; tftp; } } } } } } policies { from-zone trust to-zone untrust { policy trust-to-untrust { match { source-address any; destination-address any; application any; } then { permit; } } } from-zone trust to-zone trust { policy trust-to-trust { match { source-address any; destination-address any; application any; } then { permit; } } } from-zone untrust to-zone trust { policy untrust-to-trust { match { source-address any; destination-address any; application any; } then { permit; } } } } } vlans { vlan-trust { vlan-id 3; l3-interface vlan.0; } }