Skip to contentSkip to conversation

Ebtables & iptables!!

DISCUSSION Visham Ramsurrun 2 participants 2 messages Apr 7, 2005

lore
Share & tools
lore
#0 lore raw

Hi to all,

I wanted to know abt the following:

1) do we always have to set up ebtables as a bridge or bridge router to be able to use ebtables commands. Is it possible to have only a normal firewall using ebtables (just like with iptables). It's just that almost all examples I've come across talk abt building only bridges, bridgefirewalls or bridge routers. I just need a confirmation of this.

2) Also, I want to make the packets move from the link layer right after ebtables NAT PREROUTING to iptables. I have not set up my PC as a bridge or bridge router.. I just want to set up a normal firewall that makes use of both ebtables and iptables.

How do i go about it? do i use br-nf code?Does anyone have a sample script using br-nf code? If yes, pls send it to me.

Thx in advance..

Best regards,
Visham Ramsurrun

#1 lore raw

You want a normal firewall, so why do you want to use ebtables ??

Quoted 25 lines · Visham Ramsurrun

Hi to all,

I wanted to know abt the following:

1) do we always have to set up ebtables as a bridge or bridge router to be able to use ebtables commands. Is it possible to have only a normal firewall using ebtables (just like with iptables). It's just that almost all examples I've come across talk abt building only bridges, bridgefirewalls or bridge routers. I just need a confirmation of this.

2) Also, I want to make the packets move from the link layer right after ebtables NAT PREROUTING to iptables. I have not set up my PC as a bridge or bridge router.. I just want to set up a normal firewall that makes use of both ebtables and iptables.

How do i go about it? do i use br-nf code?Does anyone have a sample script using br-nf code? If yes, pls send it to me.

Thx in advance..

Best regards,
Visham Ramsurrun

Signature · 3 lines
Mohamed Eldesoky
www.eldesoky.net
RHCE