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

Re: Connecting a Laptop to a Local Network to get Internet Access



On Sunday 04 January 2004 18:34, rab wrote:

> I ran the following command as root:
>
>  /sbin/iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source
> XXX.XXX.XXX.60

service iptables save

incidentally, you external IP is permanent, is it?
if not then you want
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

-- 
Stuart Sears RHCE, RHCX




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