version 12.1X47-D10.4; system { host-name vol; root-authentication { encrypted-password "$1$hYTHvN4E$WZ/0YQxW9TGfMzGQXZ53y0"; ## SECRET-DATA } name-server { 8.8.8.8; } login { user admin { uid 2000; class super-user; authentication { encrypted-password "$1$p0x.WLKp$jF8Rz9qggdBn6Y7XtZKLR/"; ## SECRET-DATA } } } services { ssh; web-management { http { interface ge-0/0/0.0; } } } syslog { user * { any emergency; } file messages { any any; authorization info; } file interactive-commands { interactive-commands any; } file kmd-logs { daemon info; match KMD; } } license { autoupdate { url https://ae1.juniper.net/junos/key_retrieval; } } ntp { server 91.226.136.136; } } interfaces { ge-0/0/0 { unit 0 { family inet { address 10.69.254.4/24; } } } sp-0/0/0 { unit 0 { family inet { address 172.16.5.1/24; } } } st0 { unit 0 { family inet { address 172.16.0.1/30; } } } } routing-options { static { route 0.0.0.0/0 next-hop 10.69.254.1; } } protocols { ospf { area 0.0.0.0 { interface ge-0/0/0.0; interface st0.0; interface sp-0/0/0.0; } } } security { ike { proposal ike-proposal { authentication-method pre-shared-keys; dh-group group14; authentication-algorithm sha-256; encryption-algorithm aes-128-cbc; lifetime-seconds 3600; } policy ike-policy { mode main; proposals ike-proposal; pre-shared-key ascii-text "$9$XTh7sgPfQ/Au8XQ3n6pu8LxNdwk.fzn91RhyeKXxbwY24JQF6ApOhSaG"; ## SECRET-DATA } gateway gw-jvsrx-b { ike-policy ike-policy; address 185.12.29.20; external-interface ge-0/0/0.0; } } ipsec { proposal ipsec-proposal { protocol esp; authentication-algorithm hmac-sha-256-128; encryption-algorithm aes-128-cbc; lifetime-seconds 7200; } policy ipsec-policy { perfect-forward-secrecy { keys group14; } proposals ipsec-proposal; } vpn gw-jvsrx-b { bind-interface st0.0; ike { gateway gw-jvsrx-b; ipsec-policy ipsec-policy; } establish-tunnels immediately; } } 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; queue-size 2000; ## Warning: 'queue-size' is deprecated timeout 20; } land; } } } policies { from-zone trust to-zone trust { policy default-permit { match { source-address any; destination-address any; application any; } then { permit; } } } from-zone trust to-zone untrust { policy default-permit { match { source-address any; destination-address any; application any; } then { permit; } } } from-zone untrust to-zone trust { policy default-deny { match { source-address any; destination-address any; application any; } then { deny; } } } } zones { security-zone trust { tcp-rst; interfaces { st0.0 { host-inbound-traffic { system-services { all; } protocols { all; } } } sp-0/0/0.0 { host-inbound-traffic { protocols { all; } } } } } security-zone untrust { screen untrust-screen; interfaces { ge-0/0/0.0 { host-inbound-traffic { system-services { http; https; ssh; telnet; dhcp; all; ike; } protocols { all; } } } } } } }