[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Proxy Setup Help Needed



On Sun, Dec 21, 2003 at 10:52:53AM -0800, Scarletdown <gsutton9503@charter.net> wrote:
>       There are two ways to load things in Slackware: 
> /etc/rc.d/rc.local or editing the /etc/rc.d/rc.inet2 file. The first 
> method is the easiest. All you have to do is add the line:
[...]
> I tried the first technique, since the instructions didn't bother saying 
> what to edit in the rc.inet2.file
 Ah, this is much easier in Debian IMHO. Just set up your rules, then
say '/etc/init.d/iptables save active'. The iptables script will load
your rules at every boot. If you do not like this approach, then you can
move your rc.firewall-2.4 script into /etc/init.d/ and issue the
following command:
update-rc.d rc.firewall-2.4 start 40 2 3 4 5

> In /etc/rc.d, I created an rc.local file and put those two lines in it, 
> then did chmod 700 rc.local
> 
> When I rebooted, /etc/rc.firewall-2.4 did not execute (I can start it 
> manually, but I want it to start automatically).
 Sorry then. It seems it runs only in single user mode, and not on other
runlevels. Anyway, I hope your problem is solved by now.

Cheers,
GCS



Reply to: