## Last changed: 2016-11-23 12:51:57 GMT-8 version 12.1X46-D35.1; system { host-name VPN02; time-zone GMT-8; root-authentication { encrypted-password "1j/PhNn$68/E/.zyoRQdyeZaXct0t0"; } name-server { aa.171.3.65; aa.171.2.65; ss.67.222.222; ss.67.220.220; } name-resolution { no-resolve-on-input; } services { ssh; web-management { http { interface vlan.1; } https { system-generated-certificate; interface [ fe-0/0/0.0 vlan.1 ]; } session { idle-timeout 60; } } } 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 us.ntp.pool.org; } } interfaces { fe-0/0/0 { unit 0 { family inet { address HH.164.205.14/29; } } } fe-0/0/6 { unit 0 { family ethernet-switching { vlan { members vlan1; } } } } fe-0/0/7 { unit 0 { family ethernet-switching { vlan { members vlan1; } } } } vlan { unit 1 { family inet { address 192.168.178.5/24; } } } } routing-options { static { route 0.0.0.0/0 next-hop HH.164.205.9; } } protocols { stp; } security { ike { policy ike_policy_startup_rvpn { mode aggressive; proposal-set standard; pre-shared-key ascii-text "$9$7pNs4JGikPQ24UHqPn6"; } 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 { rcarongt; } } } } 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 Internal; 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 Internal { policy policy_startup_rvpn_Internal { match { source-address any; destination-address any; application any; } then { permit { tunnel { ipsec-vpn startup_rvpn; } } } } } from-zone Internal to-zone Internet { policy All_Internal_Internet { match { source-address any; destination-address any; application any; } then { permit; } } } } zones { security-zone Internal { interfaces { vlan.1 { host-inbound-traffic { system-services { ping; http; https; ssh; } } } } } security-zone Internet { interfaces { fe-0/0/0.0 { host-inbound-traffic { system-services { https; ike; } } } } } } } access { profile remote_access_profile { client rcarongt { firewall-user { password "$y5arM8LxNbYgW8HqmfzFreK87VDjqQF/aZqf5QCA"; } } address-assignment { pool startup_rvpn_add_pool; } } address-assignment { pool startup_rvpn_add_pool { family inet { network 10.0.0.0/24; range startup-rvpn-range { low 10.0.0.1; high 10.0.0.5; } xauth-attributes { primary-dns 192.168.178.1/32; secondary-dns 4.2.2.2/32; } } } } firewall-authentication { web-authentication { default-profile remote_access_profile; } } } vlans { vlan1 { vlan-id 3; l3-interface vlan.1; } }