Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Newbie: Help with very basic iptables problem [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
glowworm
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2005
Posts: 85

PostPosted: Sat Dec 17, 2005 12:44 am    Post subject: Newbie: Help with very basic iptables problem [solved] Reply with quote

I have been trying to secure my box, as a newbie I decided to start small, but things seem to fail on my first command.

I do:
Code:
# iptables -P INPUT DROP
# iptables -F INPUT
# iptables -A INPUT -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables: No chain/target/match by that name


Does anyone have an idea what I have messed up?

State is a match type isn't it?


Last edited by glowworm on Sat Dec 17, 2005 1:10 am; edited 1 time in total
Back to top
View user's profile Send private message
juliuspc
n00b
n00b


Joined: 06 May 2005
Posts: 14
Location: Canada

PostPosted: Sat Dec 17, 2005 12:56 am    Post subject: kernel config? Reply with quote

The available match types for iptables is affected by your kernel config and your sysctl settings... have you checked those?
_________________
--
Julius

living under a rock
JuliusPC consulting
discover fantastic shops
Back to top
View user's profile Send private message
glowworm
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2005
Posts: 85

PostPosted: Sat Dec 17, 2005 1:11 am    Post subject: Re: kernel config? Reply with quote

juliuspc wrote:
kernel config


Thanks, I had everything turned on except state tracking.

Now to recompile :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum