## Last changed: 2011-12-01 10:44:12 CST version 10.4R7.5; groups { node0 { system { host-name HOUTXFW1; } interfaces { fxp0 { unit 0 { family inet { address 192.168.0.1/24; } } } } } node1 { system { host-name HOUTXFW2; } interfaces { fxp0 { unit 0 { family inet { address 192.168.0.2/24; } } } } } } apply-groups "${node}"; system { time-zone America/Chicago; root-authentication { encrypted-password "$1$XerblLjy$NGsYkErHAIXaodkJEV.Ai."; } name-server { 208.67.222.222; 208.67.220.220; } services { ssh; web-management { http { interface [ fxp0.0 reth0.901 ]; } https { system-generated-certificate; interface [ fxp0.0 reth0.901 ]; } } } 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 192.43.244.18; } } chassis { cluster { control-link-recovery; reth-count 2; node 0; redundancy-group 0 { node 0 priority 100; node 1 priority 99; } redundancy-group 1 { node 0 priority 100; node 1 priority 99; preempt; interface-monitor { ge-0/0/4 weight 255; ge-5/0/4 weight 255; ge-0/0/5 weight 255; ge-5/0/5 weight 255; ge-0/0/6 weight 255; ge-5/0/6 weight 255; } } } } interfaces { ge-0/0/4 { gigether-options { redundant-parent reth0; } } ge-0/0/5 { gigether-options { redundant-parent reth0; } } ge-0/0/6 { gigether-options { redundant-parent reth1; } } ge-5/0/4 { gigether-options { redundant-parent reth0; } } ge-5/0/5 { gigether-options { redundant-parent reth0; } } ge-5/0/6 { gigether-options { redundant-parent reth1; } } fab0 { fabric-options { member-interfaces { ge-0/0/2; } } } fab1 { fabric-options { member-interfaces { ge-5/0/2; } } } reth0 { vlan-tagging; redundant-ether-options { redundancy-group 1; lacp { passive; } } unit 801 { vlan-id 801; family inet { address 192.168.1.254/24; } } unit 901 { vlan-id 901; family inet { address 10.199.1.254/24; } } } reth1 { redundant-ether-options { redundancy-group 1; } unit 0 { family inet { address ##.###.###.##/28; } } } } snmp { community public { authorization read-only; } } routing-options { static { route 0.0.0.0/0 next-hop ##.###.###.##; } } security { ike { policy ike-dyn-vpn-policy { mode aggressive; proposal-set standard; pre-shared-key ascii-text "$9$09-qBIclK8Vwg1R87-boajHqPQnApB"; } gateway dyn-vpn-local-gw { ike-policy ike-dyn-vpn-policy; dynamic { hostname ##.###.###.##; connections-limit 5; ike-user-type group-ike-id; } external-interface reth1; xauth access-profile dyn-vpn-access-profile; } } ipsec { policy ipsec-dyn-vpn-policy { proposal-set standard; } vpn dyn-vpn { ike { gateway dyn-vpn-local-gw; ipsec-policy ipsec-dyn-vpn-policy; } establish-tunnels on-traffic; } } nat { source { rule-set source-nat { from zone [ dmz trust ]; to zone untrust; rule source-nat-rule { match { source-address 0.0.0.0/0; destination-address 0.0.0.0/0; } then { source-nat { interface; } } } } } static { rule-set static-nat { from zone untrust; rule snat-rule { match { destination-address ##.###.###.##/32; } then { static-nat prefix 192.168.1.82/32; } } } } proxy-arp { interface reth1.0 { address { ##.###.###.##/32 to ##.###.###.##/32; } } } } 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 untrust { screen untrust-screen; host-inbound-traffic { system-services { http; https; ike; ping; ssh; traceroute; } } interfaces { reth1.0; } } security-zone trust { host-inbound-traffic { system-services { http; https; ping; ssh; traceroute; } } interfaces { reth0.901; } } security-zone dmz { address-book { address webserver-vip 192.168.1.82/32; } host-inbound-traffic { system-services { ping; traceroute; } } interfaces { reth0.801; } } } policies { from-zone untrust to-zone trust { policy permit-dynamic-vpn-access { match { source-address any; destination-address any; application any; } then { permit { tunnel { ipsec-vpn dyn-vpn; } } } } } from-zone untrust to-zone dmz { policy permit-webserver-access { match { source-address any; destination-address webserver-vip; application junos-http; } then { permit; } } } from-zone trust to-zone untrust { policy default-permit { match { source-address any; destination-address any; application [ junos-dns-tcp junos-dns-udp junos-ftp junos-http junos-https junos-ntp junos-ping ]; } then { permit; } } } from-zone trust to-zone dmz { policy permit-webserver-access { match { source-address any; destination-address webserver-vip; application junos-http; } then { permit; } } } from-zone dmz to-zone untrust { policy default-permit { match { source-address any; destination-address any; application [ junos-dns-tcp junos-dns-udp junos-ftp junos-http junos-https junos-ntp junos-ping ]; } then { permit; } } } } alg { dns disable; msrpc disable; sql disable; } dynamic-vpn { access-profile dyn-vpn-access-profile; clients { dynamic-vpn { remote-protected-resources { 10.199.1.0/24; } ipsec-vpn dyn-vpn; user { chad.corkrum; } } } } } access { profile dyn-vpn-access-profile { client chad.corkrum { firewall-user { password "$9$zCzoFCuBIheM8z3SlKM-d"; } } address-assignment { pool dyn-vpn-address-pool; } } address-assignment { pool dyn-vpn-address-pool { family inet { network 10.199.100.0/24; range dvpn-range { low 10.199.100.10; high 10.199.100.15; } xauth-attributes { primary-dns 10.199.1.11/32; secondary-dns 10.199.1.12/32; } } } } firewall-authentication { web-authentication { default-profile dyn-vpn-access-profile; } } }