## Last changed: 2015-08-20 05:22:39 GMT+10 version 12.1X44-D35.5; system { host-name abc-SRX; domain-name def.local; time-zone GMT+10; root-authentication { encrypted-password "$1$0jhzP551$MZwg98yyYL/8q/oZX.Dz9."; ## SECRET-DATA } name-server { 203.12.160.35; 203.12.160.36; } login { user xyz { uid 2000; class super-user; authentication { encrypted-password "$1$kuxB3QEV$8vXjGzb/654cyC638jiYq1"; ## SECRET-DATA } } } services { ssh; xnm-clear-text; web-management { http { interface vlan.0; } https { system-generated-certificate; interface vlan.0; } } dhcp { maximum-lease-time 604800; domain-name ghi-local; name-server { 203.12.160.35; 203.12.160.36; } router { 192.168.1.1; } pool 192.168.1.0/24 { address-range low 192.168.1.2 high 192.168.1.254; router { 192.168.1.1; } } static-binding 00:17:f2:ea:27:f5 { fixed-address { 192.168.1.3; } host-name laptop_WLAN; } propagate-settings fe-0/0/0.0; propagate-ppp-settings pp0.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 15; archival { configuration { transfer-on-commit; archive-sites { "ftp://artstar:dvr28p@192.168.1.13/Vault2/Documents/Juniper"; } } } license { autoupdate { url https://ae1.juniper.net/junos/key_retrieval; } } ntp { server 121.0.0.42; } } interfaces { fe-0/0/0 { description "Cisco switch"; unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } fe-0/0/1 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } fe-0/0/2 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } 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 { members vlan-trust; } } } } fe-0/0/6 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } fe-0/0/7 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } at-1/0/0 { description "ADSL Connection"; encapsulation ethernet-over-atm; atm-options { vpi 8; } dsl-options { operating-mode auto; } unit 0 { encapsulation ppp-over-ether-over-atm-llc; vci 8.35; } } pp0 { unit 0 { apply-macro hjds; description “hjds PPPoE LLC"; ppp-options { pap { local-name “jkl@hjds.com.au"; no-rfc2486; local-password "$9$swYgJHqfQ39q.EcSy8L"; ## SECRET-DATA passive; } } pppoe-options { underlying-interface at-1/0/0.0; idle-timeout 0; auto-reconnect 20; client; } family inet { negotiate-address; } } } vlan { unit 0 { family inet { address 192.168.1.1/24; } } } } routing-options { interface-routes { rib-group inet IMPORT-PHY; } static { route 0.0.0.0/0 next-hop pp0.0; } rib-groups { IMPORT-PHY { import-rib [ inet.0 routing-table-hjds.inet.0 ]; } } } protocols { ppp { monitor-session { all; } } stp { disable; } } security { forwarding-options { family { inet6 { mode drop; } } } screen { ids-option untrust-screen { icmp { fragment; flood threshold 1000; ping-death; } ip { spoofing; source-route-option; tear-drop; } tcp { syn-flood { alarm-threshold 1024; attack-threshold 200; source-threshold 1024; destination-threshold 2048; timeout 20; } land; } } } nat { traceoptions { flag all; } source { pool Home_LAN { address { 192.168.1.2/32 to 192.168.1.200/32; } } 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 default-permit { match { source-address any; destination-address any; application any; } then { permit; } } } from-zone untrust to-zone trust { policy untrust-to-trust { match { source-address any; destination-address any; application any; } then { permit; } } } } zones { security-zone trust { host-inbound-traffic { system-services { all; } protocols { all; } } interfaces { vlan.0; } } security-zone untrust { screen untrust-screen; host-inbound-traffic { system-services { all; } } interfaces { at-1/0/0.0; pp0.0; } } } } routing-instances { routing-table-hjds { instance-type forwarding; routing-options { static { route 0.0.0.0/0 next-hop pp0.0; } } } } vlans { vlan-trust { vlan-id 3; l3-interface vlan.0; } }