IPTABLES/SSH Tunnel with 2Nic's
Hello,
I've been running a DebLenny system on the network which acts as the local gateway. It has 2 network cards and traffic is directed as follows: Code:
iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE What would be the most efficient way by which I could achieve this? -R |
If all you need is that all the traffic goes to the machine (no fancy extra NATting, ...), then just delete the default routes and add a new default route pointing to that machine.
|
All times are GMT -5. The time now is 05:10 PM. |