Skip to contentSkip to conversation

rc.local

DISCUSSION Visham Ramsurrun 2 participants 2 messages Jul 26, 2005 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi to all,

Can anyone tell me about the additional configurations that have to be done after i paste of my the contents of my iptables script in rc.local. What things do I have to do for it to take the iptables rules in it? I did an iptables -L but no rules were present.

Thx in advance..

Warm regards,
Visham

#2 lore raw
Quoted 1 line · Visham Ramsurrun

Can anyone tell me about the additional configurations that have to be done after i paste of my the contents of my iptables script in

Distro questions belong in a distro forum. I can guarantee that what you're doing is the wrong way to set up a firewall at boot time, in any distro with which I am familiar. Check your distro's documentation about "firewall" or "iptables" and find out the right way to do it.

Quoted 2 lines

rc.local. What things do I have to do for it to take the iptables rules in it? I did an iptables -L but no rules were present.

rc.local, like other startup scripts, is a shell script. Do learn what that means; I cannot help you unless you know what can/should be in a script. Perhaps your time would be best spent at this point in finding some basic bash and shell tutorials.

I will throw in a WAG, however: your "script" might have been a set of rules for iptables-restore(8).

Signature · 2 lines
    mail to this address is discarded unless "/dev/rob0"
    or "not-spam" is in Subject: header