## Last changed: 2012-04-14 17:38:05 CST version 12.1R1.9; groups { wiz_PPPoE_0 { system { services { dhcp { propagate-ppp-settings pp0.0; } } } interfaces { pp0 { unit 0 { description "Internode Data"; ppp-options { chap { default-chap-secret "mysecret1"; local-name "acct1@internode.on.net"; no-rfc2486; passive; } pap { local-name "acct1@internode.on.net"; no-rfc2486; local-password "mysecret1"; passive; } } pppoe-options { underlying-interface fe-0/0/6.0; idle-timeout 0; auto-reconnect 5; client; } family inet { negotiate-address; } } } fe-0/0/6 { unit 0 { encapsulation ppp-over-ether; } } } security { zones { security-zone untrust { interfaces { pp0.0; } } } } } wiz_PPPoE_1 { system { services { dhcp { propagate-ppp-settings pp0.1; } } } interfaces { pp0 { unit 1 { description "Internode Voice"; ppp-options { chap { default-chap-secret "mysecret2"; local-name "acct2@internode.on.net"; no-rfc2486; passive; } pap { local-name "acct2@internode.on.net"; no-rfc2486; local-password "mysecret2"; passive; } } pppoe-options { underlying-interface fe-0/0/7.0; idle-timeout 0; auto-reconnect 5; client; } family inet { negotiate-address; } } } fe-0/0/7 { unit 0 { encapsulation ppp-over-ether; } } } security { zones { security-zone untrust { interfaces { pp0.1; } } } } } } apply-groups [ wiz_PPPoE_1 wiz_PPPoE_0 ]; system { host-name gateway.bvp; domain-name bvp; time-zone Australia/Adelaide; root-authentication { encrypted-password "root-secret"; } name-server { 192.231.203.3; 192.231.203.132; } services { ssh; telnet; xnm-clear-text; web-management { http { interface [ vlan.0 vlan.35 vlan.36 vlan.37 vlan.38 ]; } https { system-generated-certificate; interface [ vlan.0 vlan.35 vlan.36 vlan.37 vlan.38 ]; } } 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 { unit 0 { family ethernet-switching { vlan { members wiz-vlan-35; } } } } ge-0/0/1 { unit 0 { family ethernet-switching { vlan { members wiz-vlan-36; } } } } fe-0/0/2 { unit 0 { family ethernet-switching { vlan { members wiz-vlan-37; } } } } fe-0/0/3 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } fe-0/0/4 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } fe-0/0/5 { unit 0 { family ethernet-switching; } } vlan { unit 0 { family inet { address 192.168.1.1/24; } } unit 35 { family inet { filter { input load-balance; } address 10.0.35.250/24; } } unit 36 { family inet { filter { input load-balance; } address 192.168.36.1/24; } } unit 37 { family inet { address 10.0.37.1/24; } } } } routing-options { interface-routes { rib-group inet load-balance; } static { route 0.0.0.0/0 { next-hop pp0.0; qualified-next-hop pp0.1; } } rib-groups { load-balance { import-rib [ inet.0 routing-table-data.inet.0 routing-table-voice.inet.0 ]; } } } protocols { stp; } security { flow { traceoptions { file flow-trace; flag all; packet-filter f0 { destination-port 80; } } } 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 10.0.35.0/24 ]; } then { source-nat { interface; } } } } rule-set vlan-route { from zone trust; to zone trust; rule All { match { source-address 0.0.0.0/0; } then { source-nat { interface; } } } } } destination { pool server-1 { address 10.0.35.1/32 port 80; } pool server-2 { address 10.0.35.1/32 port 443; } rule-set Intranet { from interface pp0.0; rule http { match { destination-address 0.0.0.0/0; destination-port 80; } then { destination-nat pool server-1; } } rule ssl { match { destination-address 0.0.0.0/0; destination-port 443; } then { destination-nat pool server-2; } } } } } policies { from-zone trust to-zone untrust { policy trust-to-untrust { match { source-address any; destination-address any; application any; } then { permit { application-services { utm-policy junos-av-policy; } } } } } from-zone untrust to-zone trust { policy untrust-to-trust { match { source-address any; destination-address any; application any; } then { permit { application-services { utm-policy junos-av-wf-policy; } } } } policy intranet { match { source-address any; destination-address server-1; application any; } then { permit; } } } from-zone trust to-zone trust { policy vlan-route { match { source-address any; destination-address any; application any; } then { permit; } } } } zones { security-zone trust { address-book { address server-1 10.0.35.1/32; } host-inbound-traffic { system-services { all; } protocols { all; } } interfaces { vlan.0 { host-inbound-traffic { system-services { all; } protocols { all; } } } vlan.35 { host-inbound-traffic { system-services { all; } protocols { all; } } } vlan.36 { host-inbound-traffic { system-services { all; } protocols { all; } } } vlan.37 { host-inbound-traffic { system-services { all; } protocols { all; } } } } } security-zone untrust { screen untrust-screen; } security-zone junos-host; } } firewall { filter load-balance { term Data { from { source-address { 10.0.35.0/24; } } then { routing-instance routing-table-data; } } term Voice { from { source-address { 192.168.36.0/24; } } then { routing-instance routing-table-voice; } } } } routing-instances { routing-table-data { instance-type forwarding; routing-options { static { route 0.0.0.0/0 { next-hop pp0.0; qualified-next-hop pp0.1 { preference 100; } } } } } routing-table-voice { instance-type forwarding; routing-options { static { route 0.0.0.0/0 { next-hop pp0.1; qualified-next-hop pp0.0 { preference 100; } } } } } } vlans { vlan-trust { vlan-id 3; l3-interface vlan.0; } wiz-vlan-35 { vlan-id 35; l3-interface vlan.35; } wiz-vlan-36 { vlan-id 36; l3-interface vlan.36; } wiz-vlan-37 { vlan-id 37; l3-interface vlan.37; } }