From the course: Protecting Your Network with Open-Source Software

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Changing netfilter settings: Part 1

Changing netfilter settings: Part 1

- [Instructor] Next, we'll change the net filter rules on the Ubuntu router host to finish our configuration for forwarding packets between the internet and the Ubuntu local host. The first step is to change your Ubuntu host gateway IP to the Ubuntu router host, so that your Ubuntu host knows how to access the internet. That is through the Ubuntu router host, in our case. To do this, let's resize this window. Go to Show Apps, click on Settings, click on this gear icon, select IPv4, and make sure the Gateway IP is the internal interface of the router host, which is 192.168.35.136. Now, let's test if my Ubuntu host sharing the same subnet with the Ubuntu router host has internet access. Type ping 8.8.8.8, which is the IP address of a Google Domain Name Server, or DNS, on the internet. Press Enter. This command fails, because there is no internet connection yet through the Ubuntu router host. This will change when we finish configuring our Ubuntu router host to establish the internet…

Contents