Amon
Staff member
Here is the situation. I am running a window pc hooked up to a linux box running kernel 2.2.16. I was able to set the box up as a DHCP server and was able to assign an ip address to the windows pc. What I am trying to now is forward all packets from the pc to the internet otherwords access the internet from the pc which is hooked up to the linux box. PC is hooked up to the box on eth1, internet is eth0. How can I do this using the ipchains command?
something a long the lines of IPCHAINS -A forward -i eth0 -s 192.168.2.0 -p all -d 192.168.1.0
fyi i have no idea what i am doing 😛 first time i am touching linux
something a long the lines of IPCHAINS -A forward -i eth0 -s 192.168.2.0 -p all -d 192.168.1.0
fyi i have no idea what i am doing 😛 first time i am touching linux