From the course: Open Source Firewalls
Unlock the full course today
Join today to access over 24,600 courses taught by industry experts.
Configuring the NethSecurity lab
From the course: Open Source Firewalls
Configuring the NethSecurity lab
- [Instructor] Okay, we have our three subnets set up. Let's now port forward any web traffic to the firewall into the web server that we'll put in our DMZ. We'll click on firewall, port forward, and we'll add a port forward. We'll call the rule ToWeb, and we'll remove the UDP protocol. We'll put in 80. And we'll forward anything that we get on port 80 to 10.0.1.2 on port 80. We'll add port forward and apply the changes. Let's now check our access to make sure we're doing what we need. We'll now go to http://192.168.1.45, which is our firewall address, and we're forwarded through to our web server. And this is the only path we have to the DMZ and LAN, so we can't access our file server. We need to add a routing to enable the access to the web server from our internal workstation. We'll do this by going to firewall, rules, and we'll add a forward rule. We'll call it LANtoDMZ. We'll leave the source address blank and change the source zone to LAN. We'll leave the destination address…