Routing multiple networks with iptables
Posted on 2003-03-09
I have my Intranet web (192.168.10.2) server on a 192.168.10.x network. I have a Linux router setup with 2 NIC's and IPTABLES with addresses eth0 192.168.10.1 and eth1 192.168.20.1. I have the router setup where any PC on the 192.168.20.x network can browse to 192.168.20.1 and access my web browser.
My question is....How do I setup another IPTABLES Linux router so that I can connect a third LAN (192.168.30.x) to have access to my web server by routing into the 192.168.20.x LAN? For example, I would setup a Linux router box with 2 NIC's with eth0 192.168.20.2 and eth1 192.168.30.1. I want users on the 192.168.30.x LAN to browse to 192.168.30.1 and get access to my web browser. Any ideas?