From the course: Protecting Your Network with Open Source Software

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Understanding hosts as routers

Understanding hosts as routers

From the course: Protecting Your Network with Open Source Software

Start my 1-month free trial

Understanding hosts as routers

- [Instructor] You can turn any ordinary computer into a router. Here is what you need. Hardware-wise, a second network interface card, or NIC, is necessary. In terms of software, you could be using any Linux distribution. Ubuntu is our choice. If you're using a physical computer, go ahead and plug in your second NIC and set it up. A virtual machine, or VM, requires a virtual NIC. Here is the big picture view. Think of what a home router does. It allows you to share a single external IP address among multiple hosts in the same local area network, or LAN. We call this feature network address translation, or NAT. NAT also enables you to forward packets. There could be two types of forwarding. One is ingress forwarding, meaning forwarding packets from outside your network into your network. The other is egress, meaning forwarding packets from within your network to the outside of your network. This diagram shows our…

Contents