Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[IPTABLES] can't identify my interfaces??
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
Bastux
Guru
Guru


Joined: 15 Dec 2002
Posts: 369
Location: France - Paris

PostPosted: Mon Dec 22, 2003 2:57 pm    Post subject: [IPTABLES] can't identify my interfaces?? Reply with quote

Hello all,

I recently tried to install a gateway running under linux, in order to get my two desktop going on internet.

I installed gentoo on the gateway, installed the connection, no pb.

I installed iptables too, and compiled the modules in order to get it working.

The problem is :
When I entered the rules in iptables, they are recorded but it seems not taking into account my interfaces.

Example :
when I type :
Code:

iptables -A INPUT -i ppp0 -p tcp -m multiport --sports www,https -m state --state ESTABLISHED,RELATED -j ACCEPT


I get, on iptables -L :
Code:

target     prot opt source               destination
ACCEPT     tcp  --  anywhere             anywhere           multiport sports www,https state RELATED,ESTABLISHED


So with a set of rules, I seems that all ports are open... :(
My firewall is not very useful.

Do you know how I can make it work?
Back to top
View user's profile Send private message
neilhwatson
l33t
l33t


Joined: 06 Feb 2003
Posts: 719
Location: Canada

PostPosted: Mon Dec 22, 2003 3:04 pm    Post subject: Reply with quote

I think you should reread the iptables documentation to help you understand was you are reading. Hint: iptable -vL
_________________
The true guru is a teacher.
Neil Watson
Back to top
View user's profile Send private message
Bastux
Guru
Guru


Joined: 15 Dec 2002
Posts: 369
Location: France - Paris

PostPosted: Mon Dec 22, 2003 3:27 pm    Post subject: Reply with quote

neilhwatson wrote:
I think you should reread the iptables documentation to help you understand was you are reading. Hint: iptable -vL


I'm sorry master, the verbose mode is not one of my reflex.
Thank you!
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