Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
IPTables: Invalid argument
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
DrSeltsam
n00b
n00b


Joined: 20 Oct 2002
Posts: 50

PostPosted: Thu Nov 07, 2002 5:36 am    Post subject: IPTables: Invalid argument Reply with quote

Does anyone know why this goes wrong?

andreas etc # iptables -t nat -A OUTPUT -p tcp --dport pop-3 -m owner --uid-owner 8 -j ACCEPT
iptables: Invalid argument

Tried several things but it doesn't work :o((.
Back to top
View user's profile Send private message
garo
Bodhisattva
Bodhisattva


Joined: 15 Jul 2002
Posts: 860
Location: Edegem,BELGIUM

PostPosted: Thu Nov 14, 2002 9:29 pm    Post subject: Reply with quote

Did you execute iptables as root ?
Did you emerge iptables ?
Back to top
View user's profile Send private message
choward
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2002
Posts: 92

PostPosted: Fri Nov 15, 2002 9:10 pm    Post subject: Re: IPTables: Invalid argument Reply with quote

DrSeltsam wrote:
Does anyone know why this goes wrong?

andreas etc # iptables -t nat -A OUTPUT -p tcp --dport pop-3 -m owner --uid-owner 8 -j ACCEPT
iptables: Invalid argument

Tried several things but it doesn't work :o((.


I think it should be --dport pop3 Check /etc/services, or just use 110
_________________
Craig Howard
4B Computer Science -- University of Waterloo
Back to top
View user's profile Send private message
mglauche
Retired Dev
Retired Dev


Joined: 25 Apr 2002
Posts: 564
Location: Germany

PostPosted: Fri Nov 15, 2002 10:44 pm    Post subject: Reply with quote

also check *if* you did compile packet filtering into your kernel.. its disabled by default IIRC ...
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