root@SRX210-SG# show ## Last changed: 2016-09-21 11:57:32 SGT version 12.1X46-D30.2; system { host-name SRX210-SG; time-zone Asia/Singapore; root-authentication { encrypted-password "$1$Wf8IpG76$hSiTvVEfiN83XQLo7vszZ1"; ## SECRET-DATA } name-server { 208.67.222.222; 208.67.220.220; } services { ssh { max-sessions-per-connection 32; } xnm-clear-text; netconf { ssh; } web-management { https { system-generated-certificate; interface vlan.0; } } dhcp { router { 10.10.10.1; } pool 10.10.10.0/24 { address-range low 10.10.10.81 high 10.10.10.200; } 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; } file kmd-logs { daemon info; match KMD; } file default-log-messages { any info; match "(requested 'commit' operation)|(copying configuration to juniper.save)|(commit complete)|ifAdminStatus|(FRU power)|(FRU removal)|(FRU insertion)|(link UP)|transitioned|Transferred|transfer-file|(license add)|(license delete)|(package -X update)|(package -X delete)|(FRU Online)|(FRU Offline)|(plugged in)|(unplugged)|GRES"; structured-data; } } max-configurations-on-flash 5; max-configuration-rollbacks 5; license { autoupdate { url https://ae1.juniper.net/junos/key_retrieval; } } processes { general-authentication-service { traceoptions { flag all; } } } ntp { boot-server 202.83.106.177; server 211.233.84.186; server 202.65.114.202; } } interfaces { ge-0/0/0 { unit 0 { family inet { dhcp; } } } ge-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; } } } } st0 { unit 0 { family inet { address 10.10.11.1/30; } } } vlan { unit 0 { family inet { address 10.10.10.1/24; } } } } snmp { trap-group space { targets { 10.10.10.211; } } } routing-options { static { route 172.16.1.0/24 next-hop st0.0; } } protocols { lldp { interface all; } stp; } policy-options { prefix-list redirectors; } security { ike { traceoptions { file IKE-LOG; flag all; } proposal Phase1-Proposal { authentication-method pre-shared-keys; dh-group group5; authentication-algorithm sha1; encryption-algorithm aes-128-cbc; lifetime-seconds 86400; } policy UK-IKE-Policy { mode aggressive; proposals Phase1-Proposal; pre-shared-key ascii-text "$9$0LLhO1hKMX-b2x7Ujiqf5EcyrWx"; ## SECRET-DATA } gateway SG-GW { ike-policy UK-IKE-Policy; dynamic hostname secure.abc.com; local-identity hostname secure.abc.com; external-interface ge-0/0/0.0; version v1-only; } } ipsec { traceoptions { flag all; } proposal Phase2-Proposal { protocol esp; authentication-algorithm hmac-sha1-96; encryption-algorithm aes-128-cbc; lifetime-seconds 3600; } policy UK-IPSEC-Policy { perfect-forward-secrecy { keys group5; } proposals Phase2-Proposal; } vpn UK-to-SG { bind-interface st0.0; ike { gateway SG-GW; ipsec-policy UK-IPSEC-Policy; } establish-tunnels immediately; } } address-book { global { address UKNET 172.16.1.0/24; address SGNET 10.10.10.0/24; } } forwarding-options { family { inet6 { mode flow-based; } } } flow { tcp-mss { ipsec-vpn { 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 source-nat-rule { match { source-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; } } } from-zone trust to-zone vpn { policy SG-to-UK { match { source-address SGNET; destination-address UKNET; application any; } then { permit; } } } from-zone vpn to-zone trust { policy UK-to-SG { match { source-address UKNET; destination-address SGNET; application any; } then { permit; } } } } zones { security-zone trust { host-inbound-traffic { system-services { all; } protocols { all; } } interfaces { vlan.0; ge-0/0/1.0; } } security-zone untrust { screen untrust-screen; host-inbound-traffic { system-services { ping; https; ssh; ike; } } interfaces { ge-0/0/0.0 { host-inbound-traffic { system-services { dhcp; ping; ike; ssh; } } } } } security-zone vpn { interfaces { st0.0 { host-inbound-traffic { system-services { ping; https; ssh; ike; } } } } } } } poe { interface all { disable; } } vlans { vlan-trust { vlan-id 3; l3-interface vlan.0; } }