-
Notifications
You must be signed in to change notification settings - Fork 0
Lab7.1AssessmentPrep
Beth edited this page Mar 23, 2025
·
27 revisions
Tutorial for installing Nginx:
Tutorial for setting up DHCP on ubuntu:
I used sections of https://github.com/echadbourne/sec-350/blob/main/fw-configs/assessmentprep/fw01.txt as a reference
Start with the firewall, edge02. I had to add a network interface, connect all of those interfaces to the right network, then go into the box and configure the default password, hostname, and the addresses and descriptions of the network adapters.
Next is the default route to the internet via the default gateway of 10.0.17.2
set protocols static route 0.0.0.0/0 next-hop 10.0.17.2set system name-server '10.0.17.2'
Then the nat rules, specifically those for the DMZ to the WAN
set nat source rule 10 description 'NAT FROM DMZ to WAN'set nat source rule 10 outbound-interface 'eth0'set nat source rule 10 source address '172.16.50.0/29'set nat source rule 10 translation address 'masquerade'
Next DNS forwarding
set service dns forwarding allow-from '172.16.50.0/29'set service dns forwarding allow-from '172.16.150.0/24'set service dns forwarding listen-address '172.16.50.2'set service dns forwarding listen-address '172.16.150.2'set service dns forwarding system