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
From the course: Protecting Your Network with Open-Source Software
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…
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)
Netfilter and iptables3m 36s
-
(Locked)
Setting up a host firewall using iptables6m 20s
-
(Locked)
Automating netfilter configuration5m 31s
-
(Locked)
Understanding hosts as routers2m 24s
-
(Locked)
Adding a network adapter3m 21s
-
(Locked)
Testing the second adapter1m 34s
-
(Locked)
Setting up IP forwarding4m 12s
-
(Locked)
Changing netfilter settings: Part 11m 42s
-
(Locked)
Changing netfilter settings: Part 26m 35s
-
(Locked)
Testing the router1m 18s
-
(Locked)
-
-
-
-
-