## Last changed: 2011-07-21 23:15:43 EDT version 10.4R1.9; system { host-name nyx; time-zone America/New_York; root-authentication { encrypted-password "$1$P2d5j3Bs$4GdMIDsAckGdqcc/QG/5e/"; ## SECRET-DATA } name-server { 208.67.222.222; 208.67.220.220; } login { retry-options { tries-before-disconnect 4; backoff-threshold 2; backoff-factor 10; minimum-time 40; } } services { ssh; xnm-clear-text; web-management { https { system-generated-certificate; interface [ vlan.0 ge-0/0/0.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; } pool 192.168.25.0/24 { address-range low 192.168.25.2 high 192.168.25.254; } propagate-settings ge-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 { ge-0/0/0 { unit 0 { family inet { dhcp; } } } ge-0/0/1 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } ge-0/0/2 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } ge-0/0/3 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } ge-0/0/4 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } ge-0/0/5 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } ge-0/0/6 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } ge-0/0/7 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } vlan { unit 0 { family inet { address 192.168.1.1/24; } } } } protocols { stp; } security { certificates { local { nyx.mydomain.net { "asdf\n "; ## SECRET-DATA } } } ike { policy ike_pol_wizard_dyn_vpn { mode aggressive; proposal-set compatible; pre-shared-key ascii-text "$9$Qbzfn9teK8NdslKWx"; ## SECRET-DATA } gateway gw_wizard_dyn_vpn { ike-policy ike_pol_wizard_dyn_vpn; dynamic { hostname nyx; connections-limit 50; ike-user-type group-ike-id; } dead-peer-detection; external-interface ge-0/0/0.0; xauth access-profile remote_access_profile; } } ipsec { policy ipsec_pol_wizard_dyn_vpn { perfect-forward-secrecy { keys group2; } proposal-set compatible; } vpn wizard_dyn_vpn { ike { gateway gw_wizard_dyn_vpn; ipsec-policy ipsec_pol_wizard_dyn_vpn; } } } 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 { address-book { address gaea 192.168.1.4/32; } host-inbound-traffic { system-services { all; } protocols { all; } } interfaces { vlan.0; } } security-zone untrust { screen untrust-screen; host-inbound-traffic { system-services { ssh; } } interfaces { ge-0/0/0.0 { host-inbound-traffic { system-services { dhcp; tftp; ssh; https; } } } } } } 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; } } } } } default-policy { permit-all; } } dynamic-vpn { access-profile remote_access_profile; clients { wizard-dyn-group { remote-protected-resources { 192.168.25.0/24; 192.168.1.0/24; } ipsec-vpn wizard_dyn_vpn; user { name1; name2; } } } } } access { profile remote_access_profile { client nick { firewall-user { password "$9$bX2oZzF/p0IQF6ApuB17-dsoJ"; ## SECRET-DATA } } client patsy { firewall-user { password "$9$Z6Gkmn6ABRS36SevW-dk.P5Tzn/CuBI"; ## SECRET-DATA } } address-assignment { pool dyn-vpn-address-pool; } } address-assignment { pool dyn-vpn-address-pool { family inet { network 192.168.1.25/24; } } } firewall-authentication { web-authentication { default-profile remote_access_profile; } } } poe { interface all; } wlan { admin-authentication { encrypted-password "$9$2S4oGji.fQndbJDiH5T0BIcrv2gJjHmYgaU"; ## SECRET-DATA } } vlans { vlan-trust { vlan-id 3; l3-interface vlan.0; } }