It’s pretty easy to build a Linux router even on a virutal machine. I’ve used virtualbox to create a LAN NAT router with DHCP services using webmin. However, I’m not going to cover on how to use a virtualbox VM 🙂
Let’s create the NAT Router first.
On Webmin go to Networking > Network Configuration > Routing and Gateways
- Select right ethernet interface on Default Route
- Fillup the correct gateway
- Enable “Act as a Router”
On Networking > Linux Firewall > Select “Reset Firewall”