Changing iptables rules

William Park opengeometry-FFYn/CNdgSA at public.gmane.org
Sun Oct 12 01:03:24 UTC 2003


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

-- 
William Park, Open Geometry Consulting, <opengeometry-FFYn/CNdgSA at public.gmane.org>
Linux solution for data management and processing. 
--
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