View previous topic :: View next topic |
Author |
Message |
Bastux Guru
Joined: 15 Dec 2002 Posts: 369 Location: France - Paris
|
Posted: Mon Dec 22, 2003 2:57 pm Post subject: [IPTABLES] can't identify my interfaces?? |
|
|
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 |
|
|
neilhwatson l33t
Joined: 06 Feb 2003 Posts: 719 Location: Canada
|
Posted: Mon Dec 22, 2003 3:04 pm Post subject: |
|
|
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 |
|
|
Bastux Guru
Joined: 15 Dec 2002 Posts: 369 Location: France - Paris
|
Posted: Mon Dec 22, 2003 3:27 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|