Am 09.05.2012 15:52, schrieb Timothy Murphy:
I've been trying to move from one home network server to another (because of hard disk problems with the first).
I've found from this that I don't really understand how networking works, and I'm writing now to ask for some help with this.
Basically, I have this setup: ADSL modem/router <-> server <-> Linksys WiFi router. I'm running dhcp and shorewall on the server. The ADSL modem has address 192.168.1.254 . The computers, printers, etc on the LAN have addresses 192.168.2.* , eg the laptop I'm using has address 192.168.2.7 , and has default gateway 192.168.2.2 , which is the server. The default gateway on the server is 192.168.1.254 . (I am running CentOS on the servers, and Fedora-16 on everything else.)
google for POSTROUTING / MASQUERADE (iptables)