Edward Dekkers wrote:

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.


Either use lokkit to set up this firewall and adjust accordingly, or simply put the commands you want to execute at the end of /etc/rc.d/rc.local.


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).


I can't remember off the top of my head what the problem is, but I do know this has been discussed quite a few times. Search the list archives or google. I'm sure you'll find it there.

Regards,
Ed.



Thanks Ed, will try doing this by executing the commands at /etc/rc.d/rcl.local.

Regards



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to