[ale] rc.local
Terry Bailey
terry at bitlinx.com
Tue May 30 11:26:15 EDT 2006
I have a project that uses IP tables. If I type the following in by hand
everything works; however, if I place the line in /etc/rc.d/rc.local it
doesn' work.
/sbin/iptables -t nat -A PREROUTING -m tcp -p tcp --dport 80 -j DNAT
--to-destination 217.135.152.23:8080
It did not work for SUSE 10 because rc.local is not used, so I switched to
Fedora and it still does not work.
I have a small appliance where this does work with /etc/rc.d/rc.local. Is
it the case that this command must be placed in a file and the file be
called from rc.local?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ale
mailing list