From the course: Protecting Your Network with Open Source Software
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Port forwarding
From the course: Protecting Your Network with Open Source Software
Port forwarding
- [Instructor] Let's try to connect to the web server on the Ubuntu host in the DMZ from the Windows host through the Ubuntu-Router host, we'll be using the IP address of the external network interface of the Ubuntu-Router host to get to the web server. Let's go to the Windows host and open a web browser, type the external IP of the Ubuntu-Router host, which is 10.0.0.6. Press Enter. You're unable to connect since port-forwarding is not yet enabled, that's why you're getting this error message. Let's now go back to our Ubuntu-Router host and change the firewall rules to enable port-forwarding. Let's edit our firewall script. Type cd Documents, press Enter, type ls. Do you see our file script, myfw.sh? Let's edit the script, type nano myfw.sh, press Enter. These are the firewall rules we used to set up our Ubuntu-Router host initially. Let's add a couple of more rules to enable port-forwarding. Type…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Setting up hosts as a network firewall3m 11s
-
(Locked)
Setting up a web server3m 41s
-
(Locked)
Port forwarding5m 28s
-
(Locked)
Testing port forwarding33s
-
(Locked)
Understanding one-legged DMZ2m 44s
-
(Locked)
Understanding true DMZ1m 32s
-
(Locked)
Understanding an application proxy firewall4m
-
(Locked)
Setting up Squid5m 16s
-
(Locked)
-
-
-
-