## Last changed: 2016-11-20 15:03:47 GMT version 12.1X46-D40.2; system { host-name FW01; time-zone GMT; root-authentication { encrypted-password "********************************"; ## SECRET-DATA } name-server { 194.74.65.68; 194.72.9.38; } login { user admin5 { uid 2000; class super-user; authentication { encrypted-password "***************************"; ## SECRET-DATA } } } services { ssh { root-login deny; } xnm-clear-text; web-management { http { interface vlan.1; } https { system-generated-certificate; interface [ vlan.1 fe-0/0/0.0 ]; } session { idle-timeout 60; } } dhcp { propagate-settings fe-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 { interface-range interfaces-trust { member fe-0/0/1; member fe-0/0/2; member fe-0/0/3; member fe-0/0/4; member fe-0/0/5; } fe-0/0/0 { unit 0 { encapsulation ppp-over-ether; } } fe-0/0/1 { unit 0 { family ethernet-switching { vlan { members vlan1; } } } } fe-0/0/2 { unit 0 { family ethernet-switching { vlan { members vlan1; } } } } fe-0/0/3 { unit 0 { family ethernet-switching { vlan { members vlan1; } } } } fe-0/0/4 { unit 0 { family ethernet-switching { vlan { members vlan1; } } } } fe-0/0/5 { unit 0 { family ethernet-switching { vlan { members vlan1; } } } } fe-0/0/6 { unit 0 { family ethernet-switching { vlan { members vlan1; } } } } fe-0/0/7 { unit 0 { family ethernet-switching { vlan { members vlan1; } } } } pp0 { unit 0 { ppp-options { chap { default-chap-secret "*******************"; ## SECRET-DATA local-name "xxx@btclick.com"; no-rfc2486; passive; } } pppoe-options { underlying-interface fe-0/0/0.0; idle-timeout 0; auto-reconnect 1; client; } family inet { mtu 1492; address xxx.142.86.45/29; } } } vlan { unit 1 { family inet { address 192.168.1.254/24; } } } } routing-options { static { route 0.0.0.0/0 { next-hop pp0.0; metric 1; } } } protocols { stp; } security { log { mode event; } application-tracking; flow { tcp-mss { all-tcp { mss 1300; } } } 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 trust; to zone Internet; rule nsw-src-interface { match { source-address 192.168.1.0/24; destination-address 0.0.0.0/0; } then { source-nat { interface; } } } } } destination { pool xxx-EX01 { address 192.168.1.222/32; } pool xxx-HV01_ILO { address 192.168.1.120/32 port 443; } pool xxx-UTIL_RRAS { address 192.168.1.225/32; } rule-set Internet-DestNat { from zone Internet; rule inbound-pptp { match { destination-address xxx.142.86.45/29; destination-port 1723; } then { destination-nat { pool { xxx-UTIL_RRAS; } } } } rule inbound-mail { match { destination-address xxx.142.86.45/29; destination-port 25; } then { destination-nat { pool { xxx-EX01; } } } } rule inbound-owa { match { destination-address xxx.142.86.45/29; destination-port 443; } then { destination-nat { pool { xxx-EX01; } } } } rule inbound-ilo { match { destination-address xxx.142.86.45/29; destination-port 6363; } then { destination-nat { pool { xxx-HV01_ILO; } } } } } } } policies { from-zone trust to-zone Internet { policy POL-trust_to_Internet { match { source-address any; destination-address any; application any; } then { permit; log { session-init; session-close; } } } } from-zone trust to-zone trust { policy trust-to-trust { match { source-address any; destination-address any; application any; } then { permit; } } } from-zone Internet to-zone trust { policy POL_OWA { match { source-address any; destination-address ADDR_xxx-EX01; application junos-https; } then { permit; log { session-init; session-close; } } } policy POL-PPTP { match { source-address any; destination-address [ ADDR_xxx-UTIL01_RRAS ADDR_xxx-UTIL01 ]; application junos-pptp; } then { permit; log { session-init; session-close; } } } policy POL_MAIL { match { source-address any; destination-address ADDR_xxx-EX01; application junos-smtp; } then { permit; log { session-init; session-close; } } } policy POL_ILO { match { source-address any; destination-address ADDR_xxx-HV01_ILO; application junos-https; } then { permit; log { session-init; session-close; } } } } global { policy Internet_to_Trust_Deny { match { source-address any; destination-address any; application any; } then { deny; log { session-init; } } } } } zones { security-zone Internet { address-book { } } screen untrust-screen; host-inbound-traffic { system-services { ping; ssh; https; ike; http; } } interfaces { fe-0/0/0.0 { host-inbound-traffic { system-services { tftp; dhcp; ssh; ike; http; https; } } } pp0.0 { host-inbound-traffic { system-services { https; ike; ping; ssh; dhcp; } } } } application-tracking; } security-zone trust { address-book { address ADDR_xxx-EX01 192.168.1.222/32; address xxx_LAN 192.168.1.0/24; address ADDR_xxx-UTIL01_RRAS 192.168.1.60/32; address ADDR_xxx-HV01_ILO 192.168.1.120/32; address ADDR_xxx-UTIL01 192.168.1.225/32; } interfaces { vlan.1 { host-inbound-traffic { system-services { all; } protocols { all; } } } } application-tracking; } } } vlans { vlan1 { vlan-id 3; l3-interface vlan.1; } }