[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
- From: Stuart Sears <stuart sjsears com>
- To: redhat-install-list redhat com
- Subject: Re: Connecting a Laptop to a Local Network to get Internet Access
- Date: Sun, 4 Jan 2004 18:58:42 +0000
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]