Anyone using a bridge firewall with iptables and ebtables?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Mostly Gentoo, sometimes Debian/(K)Ubuntu
Posts: 143
Rep:
Pro, con
Wow, that is one cool project, I can tell you. Sun Microsystems has some appliance, which is basically a layer 2 firewall bridge. So you could set up a bridge between two ports without configuring an IP address on them, making the firewall almost invulnurable to attack. However, ebtables may be a problem performance-wise. Try and please please please do report back.
One little comment: if you are not using ebtables in the manner described above, there is almost no point in using it.
Wow, that is one cool project, I can tell you. Sun Microsystems has some appliance, which is basically a layer 2 firewall bridge. So you could set up a bridge between two ports without configuring an IP address on them, making the firewall almost invulnurable to attack. However, ebtables may be a problem performance-wise. Try and please please please do report back.
One little comment: if you are not using ebtables in the manner described above, there is almost no point in using it.
I didn't know that Sun had that piece of equipment. I'm just going to use an old PC and two nics. I'm confused about why I should use Ebtables. I'm getting the feeling that Iptables has obsoleted it. Could you tell me how Ebtables hasn't been surpassed by Iptables?
Distribution: Mostly Gentoo, sometimes Debian/(K)Ubuntu
Posts: 143
Rep:
Ebtables
To my knowledge iptables is layer 3 whereas ebtables is layer 2. In laymans terms you can't use iptables in a non-routed environment. If you were to set up the firewall on an ethernet bridge as I have suggested, you'd have to use ebtables. Well, in theory, I unfortunately never had the time to try it out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.