Re: Sharing Limited Internet Connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Can somebody please explain something to me?

# use MASQ if you get dynamic ip
iptables -A POSTROUTING -t nat -o eth0 -j MASQUERADE

What's the difference between using "-o ppp0" and "-o eth0"? Obviously, one is using the ppp0 interface while the other is using the eth0 interface. But in terms of what happens to the packets, what's the diff?

Out of curiosity, I tried both: ppp0 works, while eth0 does not.


Cheers,
Dave



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux