Harish wrote:

Hello Ed,


Thanks for yr reply,I did put them in the etc/rc.d/rc,local but it still fails.
My /etc/rc.c/rc.local file entries are
touch /var/lock/subsys/local
insmod /lib/modules/2.4.22-20.1.2024.2.36.nptl/kernel/net/ipv4/netfilter/ipt_MASQUERADE.o


iptables -A POSTROUTING -t nat -o eth0 -j MASQUERADE.

Pls suggest how I can go about.

Hard to know, because you don't tell me what errors you are getting.


Why don't you run /etc/rc.d/rc.local manually and tell me what the errors are? Just saying it doesn't work is not enough.

BUT I have a feeling it's because you're not specifying the full path for the insmod and iptables commands. Use the 'which' command to find the full path to an executable.

for example 'which insmod'
/sbin/insmod

Regards,
Ed.



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

Reply via email to