system { host-name juniper-srx110; authentication-order [ radius password ]; root-authentication { encrypted-password "gibberish"; ## SECRET-DATA } name-server { 208.67.222.222; 208.67.220.220; } radius-server { 10.20.30.6 { port 1812; accounting-port 1813; secret "gibberish"; ## SECRET-DATA source-address 10.20.30.1; } } radius-options { attributes { nas-ip-address 10.20.30.1; } } accounting { events login; destination { radius { server { 10.20.30.3 { port 1812; secret "gibberish"; ## SECRET-DATA source-address 10.20.30.1; } } } } } login { class operate { idle-timeout 30; login-tip; permissions all; } class readonly { idle-timeout 15; login-tip; permissions [ network view ]; } class super { login-tip; permissions all; } user core { uid 2000; class super; } user ops { uid 2001; class operate; } user remote { uid 2002; class readonly; } } services { ssh { protocol-version v2; max-sessions-per-connection 32; } xnm-clear-text; } 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/0; unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } fe-0/0/0 { unit 0 { family ethernet-switching { port-mode access; vlan { members vlan-trust; } } } } fe-0/0/1 { description "Ubiquiti Wireless Access Point"; unit 0 { family ethernet-switching { port-mode access; vlan { members vlan-trust; } } } } fe-0/0/2 { description "Raspberry Pi 1"; unit 0 { family ethernet-switching { port-mode access; vlan { members vlan-trust; } } } } fe-0/0/3 { description "Raspberry Pi 2"; 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 { port-mode trunk; vlan { members [ mgmt vlan-trust ]; } native-vlan-id 1; } } } pt-1/0/0 { vlan-tagging; mtu 1514; vdsl-options { vdsl-profile auto; } unit 0 { encapsulation ppp-over-ether; vlan-id 10; } } pp0 { unit 0 { ppp-options { pap { local-name "user@isp.xyz"; local-password "gibberish"; ## SECRET-DATA passive; } } pppoe-options { underlying-interface pt-1/0/0.0; auto-reconnect 10; client; } family inet { negotiate-address; } } } vlan { unit 0 { family inet { address 10.99.99.1/24; } } unit 11 { family inet { address 10.20.30.1/24; } } unit 30 { family inet { address 10.130.0.1/24; } } unit 192 { family inet { address 192.168.1.1/24; } } } } routing-options { static { route 0.0.0.0/0 next-hop pp0.0; } } protocols { ospf { area 0.0.0.0 { interface vlan.11; interface vlan.192; } } lldp { interface all; } stp; } class-of-service { host-outbound-traffic { ieee-802.1 { default 000; } } } security { 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 10.20.30.0/24; destination-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; } } } } zones { security-zone trust { host-inbound-traffic { system-services { all; } protocols { all; } } interfaces { vlan.0; vlan.111; vlan.192; vlan.30; } } security-zone untrust { screen untrust-screen; interfaces { pp0.0; pt-1/0/0.0; } } } } vlans { mgmt { vlan-id 30; l3-interface vlan.30; } ubiquiti-default { vlan-id 192; l3-interface vlan.192; } vlan-trust { vlan-id 11; l3-interface vlan.11; } }