LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 04-07-2005, 02:29 AM   #1
vishamr2000
Member
 
Registered: Aug 2004
Posts: 210

Rep: Reputation: 31
ebtables firewall


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 where the br-nf code is used? If yes, pls send it to me.

Thx in advance..

Best regards,
Visham Ramsurrun
 
Old 04-09-2005, 01:34 PM   #2
vishamr2000
Member
 
Registered: Aug 2004
Posts: 210

Original Poster
Rep: Reputation: 31
ebtables firewall

I'll got the required info from Mr. Ralf Spenneberg (ah!!..great man). So i'll share it with all of you.

>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).

Yes..it's possible to have a layer 2 firewall using ebtables rules alone.

>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?

Yes.. ebtables and iptables rules can both be written in a single script, as we normally do with iptables firewall script.

Regards,
Visham
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
patching ebtables-brnf to kernel 2.4 stevepyne Linux - Networking 0 04-29-2005 05:30 PM
802.1d Bridge + ebtables otisthegbs Linux - Wireless Networking 0 10-05-2004 07:47 PM
Using ebtables and brctl kayser Linux - Networking 0 05-03-2004 08:33 AM
slackware's /etc/rc.d/rc.firewall equivalent ||| firewall script startup win32sux Debian 1 03-06-2004 09:15 PM
Firewall Builder sample firewall policy file ? (.xml) nuwanguy Linux - Networking 0 09-13-2003 12:32 PM


All times are GMT -5. The time now is 08:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration