Skip to contentSkip to conversation

Firewall br0

DISCUSSION [email protected] 2 participants 2 messages Oct 10, 2007

lore
Share & tools
lore
#0 lore raw

Hello List,

i have a linux box with 3 interfaces.
- Internet
- 2nd Company Network
- Internal Network

Physically it looks like this:
--------------------------------
ppp0 (Internet), eth0 (plugged into DSL Modem)
eth1 (External-Network, 10.10.10.1/24)
eth2 (Internal-Network, 10.10.10.2/24)

I thought of setting up a bridge with eth1 and eth2, which would "merge" the two networks together and i would get br0.

Now I have the problem that I still want to firewall eth1 and eth2!
E.g. I only want to allow traffic going to 10.10.10.100-200 (on serveral ports) to leave interface eth1.

Can someone point me to the right place for more infos or examples?

Thanks, Mario

#1 lore raw

[email protected] írta:

Quoted 13 lines

Hello List,

i have a linux box with 3 interfaces.
- Internet
- 2nd Company Network
- Internal Network

Physically it looks like this:
--------------------------------
ppp0 (Internet), eth0 (plugged into DSL Modem)
eth1 (External-Network, 10.10.10.1/24)
eth2 (Internal-Network, 10.10.10.2/24)

Quoted 6 lines

I thought of setting up a bridge with eth1 and eth2, which would "merge" the two networks together and i would get br0.

Now I have the problem that I still want to firewall eth1 and eth2!
E.g. I only want to allow traffic going to 10.10.10.100-200 (on serveral ports) to leave interface eth1.

Can someone point me to the right place for more infos or examples?

Check the physdev match...

Swifty

Quoted 3 lines

Thanks, Mario