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

Re: ip masquerade -



> On Tue, 2006-03-28 at 15:04 -0500, Bob Goodwin wrote:
>> Can anyone point me to a step by step procedure to set up ip
>> masquerading on this fc4 computer?
>> Google hasn't helped much, perhaps I'm not using the right key words?
>>
>> Thank you.
>>
>> Bob Goodwin    Zuni, Virginia
> -----
> http://www.ecst.csuchico.edu/~dranch/LINUX/ipmasq/c-html/index.html
>
> and more specifically...
>
> http://www.ecst.csuchico.edu/~dranch/LINUX/ipmasq/c-html/firewall-examples.html#RC.FIREWALL-IPTABLES
>
> Craig
>


I've taken just one thing out of above documentation and set it in a
shell-script which i load at boot time right after iptables is loaded:

IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE

$EXTIF is your external NIC (eth0 or whatever you are connected to the
outside) - thats all.

HTH
Roger


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