11 Jul
2011
11 Jul
'11
12:17 a.m.
If you have a static IP address on your ethernet card, you probably want to use SNAT rather than MASQUERADE.
Also, I find it odd that you are using MASQUERADE on traffic TO the ppp0 interface. Usually, ou MASQUERADE traffic FROM the ppp0 address. You might try "-i" instead of "-o" in that rule and see if it makes a difference
It's workin like I showed on a debian box. But I'll try of course.
I don't see the previous message in my mailbox, but… he is wrong. The correct way is -o ppp0, you want to MASQUERADE everything that goes out of your internet facing interface. -- damjan