## Last changed: 2015-05-06 03:30:58 GMT+1 version 12.1X44-D45.2; system { host-name SRX100B; time-zone GMT+1; root-authentication { encrypted-password "xzy"; } name-server { 212.4.64.139; 212.4.64.140; 208.67.222.222; 208.67.220.220; } name-resolution { no-resolve-on-input; } login { user xyz { uid 123451234; class xyz; authentication { encrypted-password "xzy"; } } } services { web-management { https { system-generated-certificate; interface [ fe-0/0/0.0 vlan.0 fe-0/0/7.0 fe-0/0/6.0 ]; } session { idle-timeout 60; } } dhcp { pool 192.168.20.0/27 { address-range low 192.168.20.1 high 192.168.20.30; name-server { 212.4.64.139; 212.4.64.140; } router { 192.168.20.1; } } pool 192.168.20.240/28 { address-range low 192.168.20.241 high 192.168.20.254; name-server { 212.4.64.139; 212.4.64.140; } router { 192.168.20.241; } } pool 192.168.20.32/28 { address-range low 192.168.20.33 high 192.168.20.46; name-server { 212.4.64.139; 212.4.64.140; } router { 192.168.20.33; } } propagate-settings fe-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 { server 0.ch.pool.ntp.org; } } interfaces { fe-0/0/0 { unit 0 { family inet { dhcp; } } } fe-0/0/1 { unit 0 { family ethernet-switching { vlan { members vlan0; } } } } fe-0/0/2 { unit 0 { family ethernet-switching { vlan { members vlan0; } } } } fe-0/0/3 { unit 0 { family ethernet-switching { vlan { members vlan0; } } } } fe-0/0/4 { unit 0 { family ethernet-switching { vlan { members vlan0; } } } } fe-0/0/5 { unit 0 { family ethernet-switching { vlan { members vlan0; } } } } fe-0/0/6 { unit 0 { family inet { address 192.168.20.33/28; } } } fe-0/0/7 { unit 0 { family inet { address 192.168.20.241/28; } } } vlan { unit 0 { family inet { address 192.168.20.1/27; } } } } protocols { stp; } security { ike { policy ike_policy_startup_rvpn { mode aggressive; proposal-set standard; pre-shared-key ascii-text "12345612345"; } gateway gw_startup_rvpn { ike-policy ike_policy_startup_rvpn; dynamic { hostname SRX-GW; connections-limit 50; ike-user-type group-ike-id; } external-interface fe-0/0/0.0; xauth access-profile remote_access_profile; } } ipsec { policy ipsec_pol_startup_rvpn { perfect-forward-secrecy { keys group2; } proposal-set standard; } vpn startup_rvpn { ike { gateway gw_startup_rvpn; ipsec-policy ipsec_pol_startup_rvpn; } } } dynamic-vpn { access-profile remote_access_profile; clients { startup_rvpn_group { remote-protected-resources { 0.0.0.0/0; } ipsec-vpn startup_rvpn; user { macalo; } } } } 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 nsw_srcnat { from zone [ office experiment Wifi ]; to zone Internet; rule nsw-src-interface { match { source-address 0.0.0.0/0; destination-address 0.0.0.0/0; } then { source-nat { interface; } } } } } } policies { from-zone Internet to-zone office { policy policy_startup_rvpn_office { match { source-address any; destination-address any; application any; } then { permit { tunnel { ipsec-vpn startup_rvpn; } } } } } from-zone Internet to-zone Wifi { policy policy_startup_rvpn_Wifi { match { source-address any; destination-address any; application any; } then { permit { tunnel { ipsec-vpn startup_rvpn; } } } } } from-zone Internet to-zone experiment { policy policy_startup_rvpn_experiment { match { source-address any; destination-address any; application any; } then { permit { tunnel { ipsec-vpn startup_rvpn; } } } } } from-zone office to-zone Internet { policy All_office_Internet { match { source-address any; destination-address any; application any; } then { permit; } } } from-zone Wifi to-zone Internet { policy All_Wifi_Internet { match { source-address any; destination-address any; application any; } then { permit; } } } from-zone experiment to-zone Internet { policy All_experiment_Internet { match { source-address any; destination-address any; application any; } then { permit; } } } from-zone office to-zone Wifi { policy All_office_Wifi { match { source-address any; destination-address any; application any; } then { permit; } } } from-zone Wifi to-zone office { policy All_office_Wifi { match { source-address any; destination-address any; application any; } then { permit; } } } from-zone office to-zone experiment { policy All_office_experiment { match { source-address any; destination-address any; application any; } then { permit; } } } from-zone experiment to-zone office { policy All_office_experiment { match { source-address any; destination-address any; application any; } then { permit; } } } from-zone Wifi to-zone experiment { policy All_Wifi_experiment { match { source-address any; destination-address any; application any; } then { permit; } } } from-zone experiment to-zone Wifi { policy All_Wifi_experiment { match { source-address any; destination-address any; application any; } then { permit; } } } } zones { security-zone office { interfaces { vlan.0 { host-inbound-traffic { system-services { ping; dhcp; https; } } } } } security-zone Wifi { interfaces { fe-0/0/7.0 { host-inbound-traffic { system-services { ping; dhcp; https; } } } } } security-zone experiment { interfaces { fe-0/0/6.0 { host-inbound-traffic { system-services { ping; dhcp; https; } } } } } security-zone Internet { interfaces { fe-0/0/0.0 { host-inbound-traffic { system-services { dhcp; https; ike; } } } } } } } access { profile remote_access_profile { client macalo { firewall-user { password "$9$SJvyML7-wYgJhSrvLXwsaZUimf5QFn9Aq."; } } address-assignment { pool startup_rvpn_add_pool; } } address-assignment { pool startup_rvpn_add_pool { family inet { network 212.243.8.0/24; range startup-rvpn-range { low 212.243.8.190; high 212.243.8.215; } xauth-attributes { primary-dns 212.4.64.139/32; secondary-dns 212.4.64.140/32; } } } } firewall-authentication { web-authentication { default-profile remote_access_profile; } } } vlans { vlan0 { vlan-id 2; l3-interface vlan.0; } }