Set up basic gateway
So here is my problem:
My PC has 2 NIC for 2 different subnetworks
eth0 for 172.16.0.0/24
eth1 for 192.168.0.0/24
Both interfaces are seen from their subnetworks
I've tried to set up routing by the following command:
iptables -t nat -A POSTROUTING -j MASQUERADE -o eth0
And ofcourse it didn't work. Please help me and also please tell me where I can read more about setting up simple router (gateway)?
Last edited by Padawan.AVT; 10-12-2006 at 05:50 PM.
|