## Last commit: 2013-08-12 06:15:33 NZST by imcadmin version 12.1X45; system { host-name srx01; domain-name example.local; time-zone Pacific/Auckland; root-authentication { encrypted-password "secret"; ## SECRET-DATA } name-server { 8.8.8.8; 8.8.4.4; } services { ssh { protocol-version v2; } telnet; xnm-clear-text; dhcp-local-server { dhcpv6 { group IPv6GROUP { overrides { rapid-commit; process-inform; } interface vlan.0 { trace; overrides { process-inform { pool IPv6-POOL; } } } } } group IPv4GROUP { overrides { no-unicast-replies; } interface vlan.0; } } web-management { http { interface vlan.0; } https { system-generated-certificate; interface vlan.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; } } processes { general-authentication-service { traceoptions { inactive: flag all; } } dhcp-service { traceoptions { file dhcp-log; level all; inactive: flag all; } } } ntp { boot-server 203.97.109.165; server 202.89.49.65; server 203.97.109.165; } } interfaces { fe-0/0/0 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } sp-0/0/0 { disable; } 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 { inactive: traceoptions { flag all; } encapsulation atm-pvc; atm-options { vpi 0; } dsl-options { operating-mode auto; } unit 0 { encapsulation atm-ppp-llc; vci 0.100; ppp-options { pap { local-name "user"; local-password "password"; ## SECRET-DATA passive; } } family inet { filter { input internet-input; } negotiate-address; } family inet6 { filter { input IPv6; } dhcpv6-client { client-type statefull; ## ## Warning: IA-NA identity association is required for ia-pd ## client-ia-type ia-pd; rapid-commit; update-router-advertisement { interface vlan.0; } client-identifier duid-type duid-ll; req-option domain; req-option dns-server; update-server; } } } } vlan { unit 0 { family inet { address 192.168.1.1/24; } family inet6 { address fe80::1/64; } } } } routing-options { rib inet6.0 { static { route ::/0 next-hop at-1/0/0.0; } } static { route 0.0.0.0/0 next-hop at-1/0/0.0; } } protocols { stp; } security { forwarding-options { family { inet6 { mode flow-based; } } } flow { tcp-mss { all-tcp { mss 1350; } } } 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 hide-nat-all { match { source-address 0.0.0.0/0; 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; log { session-close; } count; } } } } zones { security-zone trust { host-inbound-traffic { system-services { all; } protocols { all; } } interfaces { vlan.0; } } security-zone untrust { screen untrust-screen; interfaces { at-1/0/0.0 { host-inbound-traffic { system-services { ssh; ping; dhcpv6; } } } } } security-zone undefined; } } firewall { family inet6 { filter IPv6 { term pass-to-flow-policies { then accept; } } } filter internet-input { term pass-to-flow-policies { then accept; } } } access { address-assignment { neighbor-discovery-router-advertisement IPv6-POOL; pool IPv6-POOL { family inet6 { prefix ::/0; range myrange prefix-length 64; dhcp-attributes { dns-server { 2001:4860:4860::8888; 2001:4860:4860::8844; } propagate-settings at-1/0/0.0; propagate-ppp-settings at-1/0/0.0; } } } pool IPv4-POOL { family inet { network 192.168.1.0/24; range clients { low 192.168.1.100; high 192.168.1.150; } dhcp-attributes { name-server { 8.8.8.8; 8.8.4.4; } router { 192.168.1.1; } propagate-ppp-settings at-1/0/0.0; } } } } } vlans { vlan-trust { vlan-id 3; l3-interface vlan.0; } }