Skip to contentSkip to conversation

Allow access trought a bridge

DISCUSSION Hélio Dubeux 1 participant 1 message Nov 4, 2002

lore
Share & tools
lore
#0 lore raw

I Have a Bridge and CBQ on my net. I have to:

1 - Allow external access to some IP.
2 - Drop the non alloed IP.

I Gave an valid IP behind my bridge that i can´t access. This is my table:

iptables -P FORWARD DROP
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -p all -s <IP> -j ACCEPT
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j DROP

Whith these rulesets i got what i want, for example i can ping my router but i can´t ping an IP in the same range as my router tahat is behind the bridge.

PLZ HELP ME.

----------------------
Hélio Dubeux Neto

_________________________________________________________________
MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com