## Last changed: 2012-04-19 19:31:11 EDT version 11.2R6.3; system { host-name DCAdmin; time-zone America/New_York; root-authentication { encrypted-password "obfuscated"; ## SECRET-DATA } name-server { 208.67.222.222; 208.67.220.220; } services { ssh; telnet; xnm-clear-text; web-management { http { interface [ vlan.0 ge-0/0/0.0 ]; } 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; } 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 { gigether-options { no-loopback; } unit 0 { family inet { address 72.0.0.2/24; address 192.168.14.1/24; } } } ge-0/0/1 { gigether-options { no-loopback; } unit 0 { family inet { address 174.0.0.2/24; address 192.168.15.1/24; } } } ge-0/0/2 { gigether-options { no-loopback; } unit 0 { family inet { address 10.100.1.1/24; } } } (Snipped from this example for brevity. Interfaces 3-6 are unused, same as 7.) ge-0/0/7 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } st0 { unit 1 { family inet; family inet6; } unit 2 { family inet; family inet6; } } vlan { unit 0 { family inet { address 192.168.1.1/24; } } } } routing-options { static { route 71.0.0.0/24 next-hop 192.168.14.2; route 173.0.0.0/24 next-hop 192.168.15.2; route 10.100.0.0/24 next-hop [ st0.1 st0.2 ]; } router-id 10.100.1.0; } protocols { ospf { area 0.0.0.10 { area-range 10.100.0.0/24; area-range 10.100.1.0/24; interface st0.1 { interface-type p2p; metric 1; te-metric 1; hello-interval 5; } interface st0.2 { interface-type p2p; metric 200; te-metric 200; hello-interval 5; } interface lo0.16384; } } stp; } security { ike { policy ike_pol_TC-DCAdmin_VZ { mode aggressive; proposal-set standard; pre-shared-key ascii-text "obfuscated"; ## SECRET-DATA } policy ike_pol_TC-DCAdmin_BHN { mode aggressive; proposal-set standard; pre-shared-key ascii-text "$obfuscated"; ## SECRET-DATA } gateway gw_TC-DCAdmin_VZ { ike-policy ike_pol_TC-DCAdmin_VZ; address 71.0.0.2; dead-peer-detection; external-interface ge-0/0/0.0; } gateway gw_TC-DCAdmin_BHN { ike-policy ike_pol_TC-DCAdmin_BHN; address 173.0.0.2; dead-peer-detection; external-interface ge-0/0/1.0; } } ipsec { policy ipsec_pol_TC-DCAdmin_VZ { perfect-forward-secrecy { keys group2; } proposal-set standard; } policy ipsec_pol_TC-DCAdmin_BHN { perfect-forward-secrecy { keys group2; } proposal-set standard; } vpn TC-DCAdmin_VZ { bind-interface st0.1; vpn-monitor; ike { gateway gw_TC-DCAdmin_VZ; ipsec-policy ipsec_pol_TC-DCAdmin_VZ; } establish-tunnels immediately; } vpn TC-DCAdmin_BHN { bind-interface st0.2; vpn-monitor; ike { gateway gw_TC-DCAdmin_BHN; ipsec-policy ipsec_pol_TC-DCAdmin_BHN; } 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; timeout 20; } land; } } } 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; } } } } } } policies { from-zone trust to-zone untrust { policy trust-to-untrust { match { source-address any; destination-address any; application any; } then { permit; } } } from-zone trust to-zone trust { policy policy_out_TC-DCAdmin_VZ { match { source-address addr_10_100_1_0_24; destination-address addr_10_100_0_0_24; application any; } then { permit; } } policy policy_in_TC-DCAdmin_VZ { match { source-address addr_10_100_0_0_24; destination-address addr_10_100_1_0_24; application any; } then { permit; } } policy policy_out_TC-DCAdmin_BHN { match { source-address addr_10_100_1_0_24; destination-address addr_10_100_0_0_24; application any; } then { permit; } } policy policy_in_TC-DCAdmin_BHN { match { source-address addr_10_100_0_0_24; destination-address addr_10_100_1_0_24; application any; } then { permit; } } } } zones { security-zone trust { address-book { address addr_10_100_1_0_24 10.100.1.0/24; address addr_10_100_0_0_24 10.100.0.0/24; } host-inbound-traffic { system-services { all; } protocols { all; } } interfaces { ge-0/0/2.0; st0.1 { host-inbound-traffic { system-services { all; } protocols { all; } } } st0.2 { host-inbound-traffic { system-services { all; } protocols { all; } } } vlan.0; } } security-zone untrust { screen untrust-screen; interfaces { ge-0/0/0.0 { host-inbound-traffic { system-services { tftp; https; http; ping; ssh; } protocols { ospf; igmp; } } } ge-0/0/1.0; } } } } vlans { vlan-trust { vlan-id 3; l3-interface vlan.0; } }