Re: iptables not working well?

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



>> 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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux