[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] rc.local
- Subject: [ale] rc.local
- From: terry at bitlinx.com (Terry Bailey)
- Date: Tue, 30 May 2006 11:26:15 -0400
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...