ip masquerading script for dynamic IP

Ron Smits ron at ronsmits.org
Fri Oct 20 05:51:52 UTC 2006


One would normally masquerade on the outgoing interface. Basically
telling iptables that everything that goes outside on that interface has
to be masqueraded. This is from my bluetooth script for example:

<code>
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
</code>

hope that helps

Ron

On Thu, 2006-10-19 at 11:12 -0700, Noah wrote:
> Hi
> 
> I am wondering if somebody knows where I can find a script that
> handles ip masquerading for dynamically assigned IPs from my upstream?
> 
> cheers,
> 
> Noah
> 





More information about the ubuntu-users mailing list