## Last commit: 2014-07-25 10:09:02 EEST by hay version 12.1X44.4; system { host-name srx-hay; time-zone Europe/[...]; root-authentication { encrypted-password "$1$LPH7r2cA$Ix.3pkBqzouDOtWbMkDXy."; ## SECRET-DATA } name-server { 172.20.20.1; } login { [...] } services { ssh; xnm-clear-text; web-management { http { interface [ vlan.0 ]; } https { system-generated-certificate; interface [ vlan.0 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; } } ntp { [...] } } interfaces { fe-0/0/0 { unit 0 { family inet { address 172.20.20.2/16; } } } fe-0/0/1 { unit 0 { family ethernet-switching { vlan { members vlan-left; } } } } [...] vlan { unit 0 { description Senior; family inet { address 192.168.0.1/24; } } } } routing-options { static { route 0.0.0.0/0 next-hop 172.20.20.1; } } protocols { stp; } security { key-protection; ike { respond-bad-spi 5; policy ike_pol_wizard_dyn_vpn { mode aggressive; proposal-set standard; pre-shared-key ascii-text "$9$peJsBhrKMXxdsyrK87V4oZUjqfz/CtOIEu0"; ## SECRET-DATA } gateway gw_wizard_dyn_vpn { ike-policy ike_pol_wizard_dyn_vpn; dynamic { hostname srx-hay; connections-limit 2; ike-user-type group-ike-id; } external-interface fe-0/0/0.0; xauth access-profile remote_access_profile; } } ipsec { vpn-monitor-options { interval 10; threshold 10; } policy ipsec_pol_wizard_dyn_vpn { proposal-set standard; } vpn wizard_dyn_vpn { ike { gateway gw_wizard_dyn_vpn; ipsec-policy ipsec_pol_wizard_dyn_vpn; } } } dynamic-vpn { access-profile remote_access_profile; clients { wizard-dyn-group { remote-protected-resources { 192.168.0.0/24; } remote-exceptions { 0.0.0.0/0; } ipsec-vpn wizard_dyn_vpn; user { hayv; } } } } 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 { source-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; } } } from-zone untrust to-zone trust { policy policy_in_wizard_dyn_vpn { match { source-address any; destination-address any; application any; } then { permit { tunnel { ipsec-vpn wizard_dyn_vpn; } } } } } } zones { security-zone trust { host-inbound-traffic { system-services { all; } protocols { all; } } interfaces { vlan.0; vlan.1; vlan.2; } } security-zone untrust { screen untrust-screen; interfaces { fe-0/0/0.0 { host-inbound-traffic { system-services { tftp; ssh; dhcp; ping; https; ike; } } } } } } } access { profile remote_access_profile { client hayv { firewall-user { password "$9$eh/Mx-dbsaZDjH/Apu1IEcy"; ## SECRET-DATA } } address-assignment { pool dyn-vpn-address-pool; } } address-assignment { pool dyn-vpn-address-pool { family inet { network 10.1.0.0/22; } } } firewall-authentication { web-authentication { default-profile remote_access_profile; } } } vlans { vlan-left { vlan-id 3; l3-interface vlan.0; } }