Skip to contentSkip to conversation

Starting iptables problem

DISCUSSION Stephen Liu 3 participants 3 messages Oct 24, 2003 – Oct 25, 2003

lore
Share & tools
lore
#0 lore raw

Hi all folks,

I just finished installing Gentoo 1.4 and could not start iptables

# rc-update add iptables default
* iptables already installed in runlevel default; skipping
# /etc/init.d/iptables status
* status:  stopped
# /etc/init.d/iptables start
* WARNING:  "net.eth0" has already been started.
* Not starting iptables. First create some rules then run
* /etc/init.d/iptables save

Kindly advise how to proceed. Thanks in advance.

B.R.
Stephen Liu

#1 lore raw
Quoted 4 lines · Stephen Liu
# /etc/init.d/iptables start
* WARNING:  "net.eth0" has already been started.
* Not starting iptables. First create some rules then run
* /etc/init.d/iptables save

RTFCL (read the nice console log).

It says you don't have any rules defined. That means there is no saved rules where Gentoo expects to find them. So define some rules using the iptables utility, then run /etc/init.d/iptables save, and then you should be good to go.

Finding example rulesets is a Google search away.

Satch

Signature · 1 line
Programming X Windows is like trying to find the square root of pi using roman numerals.  -- Henry Spencer  
#2 lore raw
In reply to Stephen Liu

Am Fre, 2003-10-24 um 22.29 schrieb Stephen Liu:

Quoted 6 lines
# /etc/init.d/iptables start
 * WARNING:  "net.eth0" has already been started.
 * Not starting iptables. First create some rules then run
 * /etc/init.d/iptables save

Kindly advise how to proceed. Thanks in advance.

Well, as the command said:
First create some rules, then run /etc/init.d/iptables save Then you may start iptables.
When there are no rules there is nothing to start.

Cheers,

Ralf

Signature · 6 lines
Ralf Spenneberg
RHCE, RHCX

Book: Intrusion Detection für Linux Server   http://www.spenneberg.com
IPsec-Howto				     http://www.ipsec-howto.org
Honeynet Project Mirror:                     http://honeynet.spenneberg.org