Skip to contentSkip to conversation

state ESTABLISHED,RELATED ignored within a bridge

DISCUSSION DELORT Stephane 2 participants 2 messages Jan 5, 2006

lore
Share & tools
lore
#0 lore raw

Hi chris,

the default policy is to accept any outgoing traffic.

however, ping and telnet work fine before I add one of these rules.

++
Stéphane

-----Message d'origine-----
De : Chris Brenton [mailto:[email protected]] Envoyé : jeudi 5 janvier 2006 18:04
À : DELORT Stephane
Cc : [email protected]
Objet : Re: state ESTABLISHED,RELATED ignored within a bridge

Quoted 6 lines · DELORT Stephane

when I use a rule :
$IPTABLES -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT $IPTABLES -A INPUT -j DROP

The server cannot ping or telnet any other host !

This only lets replies back through. You need a rule that permits the initial session establishment as well. (ICMP type 8 and TCP/23).

HTH,
Chris

#1 lore raw
Quoted 2 lines · DELORT Stephane

the default policy is to accept any outgoing traffic. however, ping and telnet work fine before I add one of these rules.

Bridged traffic is seen in FORWARD chain, not INPUT nor OUTPUT.

Signature · 2 lines
http://sid.rstack.org/
PGP KeyID: 157E98EE FingerPrint: FA62226DA9E72FA8AECAA240008B480E157E98EE
Quoted 2 lines
Quoted 2 lines

Hi! I'm your friendly neighbourhood signature virus. Copy me to your signature file and help me spread!