Skip to contentSkip to conversation

?OT? Linux 2.6: bridge + routing firewall

LARTC Edesio Costa e Silva 3 participants 3 messages Feb 15, 2007 – Feb 16, 2007

lore
Share & tools
lore
#0 lore raw

Hi All!

I need to deploy a bridge firewall using linux kernel 2.6. I had success using kernel 2.4 plus br-nf patch. But the configuration does not work with kernel 2.6.

If the default policy for the iptables FORWARD chain is ACCEPT I have a bridge. If iptables FORWARD chain is DROP I have an insulator (no packet flows). Any hint?

I did some google search and in many places they say "kernel 2.6 is not recommended", "no luck with kernel 2.6", etc.

Any link to a success story of a bridge firewall with kernel 2.6? Any personal experience?

Thanks in advance,

Edésio
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw

I have some experience.

It seems that you should explicitely allow bridging in iptables as well as in ebtables.

So, in addition to my bridge roules in ebtables I also have this rule in iptables:

iptables -A FORWARD -i br0 -o br0 -j ACCEPT

Otherwise, it could block bridging by later rules or the policy.

В Чтв, 15/02/2007 в 13:44 -0200, Edesio Costa e Silva пишет:

Quoted 24 lines

Hi All!

I need to deploy a bridge firewall using linux kernel 2.6. I had success using kernel 2.4 plus br-nf patch. But the configuration does not work with kernel 2.6.

If the default policy for the iptables FORWARD chain is ACCEPT I have a bridge. If iptables FORWARD chain is DROP I have an insulator (no packet flows). Any hint?

I did some google search and in many places they say "kernel 2.6 is not recommended", "no luck with kernel 2.6", etc.

Any link to a success story of a bridge firewall with kernel 2.6? Any personal experience?

Thanks in advance,

Edésio
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Signature · 6 lines
Покотиленко Костик <[email protected]>

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#2 lore raw
In reply to Edesio Costa e Silva

What you might be interested in as well is the physdev match witch will let you filter traffic on physical devices

T o M

Quoted 29 lines · ??????????? ??????

I have some experience.

It seems that you should explicitely allow bridging in iptables as well as in ebtables.

So, in addition to my bridge roules in ebtables I also have this rule in iptables:

iptables -A FORWARD -i br0 -o br0 -j ACCEPT

Otherwise, it could block bridging by later rules or the policy.

?? ??????, 15/02/2007 ?? 13:44 -0200, Edesio Costa e Silva ??????????:

Quoted 16 lines

Hi All!

I need to deploy a bridge firewall using linux kernel 2.6. I had success using kernel 2.4 plus br-nf patch. But the configuration does not work with kernel 2.6.

If the default policy for the iptables FORWARD chain is ACCEPT I have a bridge. If iptables FORWARD chain is DROP I have an insulator (no packet flows). Any hint?

I did some google search and in many places they say "kernel 2.6 is not recommended", "no luck with kernel 2.6", etc.

Any link to a success story of a bridge firewall with kernel 2.6? Any personal experience?

Quoted 15 lines
Quoted 8 lines

Thanks in advance,

Edésio
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Signature · 6 lines
?????????????????????? ???????????? <[email protected]>

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc