Changing iptables rules
Clive DaSilva
cdasilva-q6EoVN9bke6w5LPnMra/2Q at public.gmane.org
Sun Oct 12 01:16:07 UTC 2003
Hello William
Thanks for your response. The simplest route is usually the best. I did
take a look at the iptables manual as well as the latest iptables
tutorial on freshmeat.net. It outlined some interesting scenarios using
iptables-save and iptables-restore commands in a similar scenario. I
guess that this will be my project for the long weekend.
Thanks once again
Clive
William Park wrote:
>On Sat, Oct 11, 2003 at 08:45:21PM -0400, Clive DaSilva wrote:
>
>
>>Hello all
>>
>>I am working with a new distro (Mandrake 9.1) trying desperately to
>>change the default iptables ruleset to allow ip_masquerade so my wife
>>and daghter can simultaneously surf on a Win98 box attached to my small
>>network. Are any of you aware of a URL which advises as to how to do
>>this ? On my Slackware 7.1 setup, my iptables rules consisted of
>>perhaps five lines which enabled the ip_masquerade process, but the
>>iptables rule set here is quite long. I was considering writing a script
>>which I could enable at bootup which deleted all the generic iptables
>>rules created by the Mandrake install, and then just add the five lines
>>which I used to get ip_masq running on my old config.
>>
>>
>
>Well, then, do that. To flush 'filter' and 'nat' tables,
> /usr/sbin/iptables -F
> /usr/sbin/iptables -t nat -F
>
>man iptables
>
>
>
--
Clive DaSilva
Home Tel: 416-421-2480
Cell: 416-560-8820
Email: cdasilva-q6EoVN9bke6w5LPnMra/2Q at public.gmane.org
Mandrake Linux 9.1 Kernel 2.4.20
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list