On Mon, 22 Sep 2003, Harish wrote: > Hi, > I am a newbie in Linux,I have done a NAT on my Linux server so that my > internet connection could be shared with my Windows machies on my lan.My > problem is that each time i reboot the server the firewall settings go > back to the default settings.In order to get the NAT working again I > have to use install the ipt_Masquerade module again and reinvoke > iptables -A POSTROUTING -t nat -o eth0 -j MASQUERADE. > > Can i get a script so that I dont have to do this everytime? > My second problem is that on my server I get a error Neighbour Table > overflow?Whats the cause of this error?I have two NICs on my server one > for pvt network and the other for the public network (intrenet connection).
Sure you can...once you've got your firewall configured the way you like, run "/sbin/service iptables save"...this will save your current iptales configuration, and on the next reboot, will load it as you've configured it. -- Mike Burger http://www.bubbanfriends.org Visit the Dog Pound II BBS telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000 To be notified of updates to the web site, send a message to: [EMAIL PROTECTED] with a message of: subscribe -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list