## Last changed: 2016-08-01 16:23:34 CDT version 15.1X49-D45; system { host-name HSRX300; domain-name Domain.local; backup-router x.x.x.150; time-zone America/Chicago; use-imported-time-zones; root-authentication { encrypted-password "SecretStuff"; ## SECRET-DATA } name-server { 8.8.8.8; 8.8.4.4; 75.75.75.75; 75.75.75.76; } login { user srxadmin { uid 2000; class super-user; authentication { encrypted-password "SecretStuff"; ## SECRET-DATA } } } services { ssh; telnet; xnm-clear-text; web-management { http { interface ge-0/0/1.0; } https { system-generated-certificate; interface ge-0/0/1.0; } } dhcp { pool 192.168.1.0/24 { address-range low 192.168.1.2 high 192.168.1.254; router { 192.168.1.1; } propagate-settings ge-0/0/0.0; } pool 192.168.44.0/24 { address-range low 192.168.44.151 high 192.168.44.175; maximum-lease-time 86400; domain-name Domain.local; name-server { 192.168.44.3; 192.168.44.120; 192.168.44.130; 8.8.8.8; } router { 192.168.48.2; } propagate-settings ge-0/0/4.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 10; license { autoupdate { url https://ae1.juniper.net/junos/key_retrieval; } } } 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 0.0.0.0/0; } then { source-nat { interface; } } } } } destination { pool DellTestLaptop { address 192.168.44.100/32 port 3389; } pool RMI-Server { address 192.168.44.130/32 port 3489; } pool SecurityCameras-100 { address 192.168.44.7/32 port 100; } pool SecurityCameras-6036 { address 192.168.44.7/32 port 6036; } rule-set rs1 { from zone untrust; rule r2 { match { destination-address x.x.x.145/32; destination-port { 4001; } } then { destination-nat { pool { DellTestLaptop; } } } } rule RMI-Server { match { destination-address x.x.x.148/32; destination-port { 3489; } } then { destination-nat { pool { RMI-Server; } } } } rule Security-Cameras-100 { match { destination-address x.x.x.148/32; destination-port { 100; } } then { destination-nat { pool { SecurityCameras-100; } } } } rule Security-Cameras-6036 { match { destination-address x.x.x.148/32; destination-port { 6036; } } then { destination-nat { pool { SecurityCameras-6036; } } } } } } } policies { from-zone trust to-zone trust { policy trust-to-trust { match { source-address any; destination-address any; application any; } then { permit; } } } from-zone trust to-zone untrust { policy trust-to-untrust { match { source-address any; destination-address any; application any; } then { permit; } } } from-zone untrust to-zone trust { policy Server-Access { match { source-address any; destination-address [ RMI-Server DellLaptopTest Security-Cameras ]; application any; } then { permit; } } } } zones { security-zone trust { address-book { address RMI-Server 192.168.44.130/32; address Security-Cameras 192.168.44.7/32; address DellLaptopTest 192.168.44.100/32; } host-inbound-traffic { system-services { all; } protocols { all; } } interfaces { ge-0/0/1.0; ge-0/0/2.0; ge-0/0/3.0; ge-0/0/4.0; ge-0/0/5.0; } } security-zone untrust { screen untrust-screen; interfaces { ge-0/0/0.0 { host-inbound-traffic { system-services { dhcp; tftp; } } } } } } } interfaces { ge-0/0/0 { unit 0 { family inet { address x.x.x.148/32; address x.x.x.145/32; } } } ge-0/0/1 { unit 0 { family inet { address 192.168.1.1/24; } } } ge-0/0/2 { unit 0 { family inet { address 192.168.2.1/24; } } } ge-0/0/3 { unit 0 { family inet { address 192.168.3.1/24; } } } ge-0/0/4 { unit 0 { family inet { address 192.168.44.2/24; } } } ge-0/0/5 { unit 0 { family inet { address 192.168.5.1/24; } } } ge-0/0/6 { unit 0; } ge-0/0/7 { unit 0; } } routing-options { static { route 0.0.0.0/0 next-hop x.x.x.150; } }