LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-27-2006, 05:53 AM   #1
Mycado
Member
 
Registered: Jun 2006
Location: Paris, France
Distribution: RHEL
Posts: 73

Rep: Reputation: 15
ebtables rules


Hello,

Im under linux debian sarge, and I have some problem with ebtables.
I have configured my bridge (eth0/eth1).
And now, I want to block some port.

I try:
Code:
ebtables -A FORWARD -p IPv4 --ip-dst 193.xx.yy.111 --ip-proto tcp --ip-dport 22 -j DROP
ebtables -A FORWARD -p IPv4 --ip-src 193.17.73.111 --ip-proto tcp --ip-sport 22 -j DROP
My ebtable work perfectly with my QoS htb but not here.

Anybody have an idea ? :\
 
Old 06-28-2006, 12:32 AM   #2
Israfel2000
Member
 
Registered: May 2004
Location: Underground base in the mountains
Distribution: FreeBSD, Fedora, Ubuntu
Posts: 87
Blog Entries: 2

Rep: Reputation: 18
I'm not familiar with Debian but I'm guessing your firewall rules are almost the same as for Red Hat. O.K. before I go to the conclusion, what are your POLICY rules?
 
Old 06-28-2006, 02:25 AM   #3
Mycado
Member
 
Registered: Jun 2006
Location: Paris, France
Distribution: RHEL
Posts: 73

Original Poster
Rep: Reputation: 15
I have resolve,
The problem was the packet don't cross through ebtables, but trough iptables rules, in spite of brigde ip routing cross trough ebtables ..
Strange .. But this work

Thanks
 
Old 06-28-2006, 12:37 PM   #4
Israfel2000
Member
 
Registered: May 2004
Location: Underground base in the mountains
Distribution: FreeBSD, Fedora, Ubuntu
Posts: 87
Blog Entries: 2

Rep: Reputation: 18
O.K. I'm a little behind...um... what's ebtables?
At first I thought it was iptables version for Debian. Now I'm confused. :?
 
Old 06-29-2006, 02:24 AM   #5
Mycado
Member
 
Registered: Jun 2006
Location: Paris, France
Distribution: RHEL
Posts: 73

Original Poster
Rep: Reputation: 15
They are EBTABLES for bridging
 
Old 06-29-2006, 06:21 AM   #6
Israfel2000
Member
 
Registered: May 2004
Location: Underground base in the mountains
Distribution: FreeBSD, Fedora, Ubuntu
Posts: 87
Blog Entries: 2

Rep: Reputation: 18
Oh, O.K. I'll look into it a little more. Thx
 
  


Reply



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
Configuring Ebtables raja1979 Linux - Security 2 01-03-2006 09:21 AM
patching ebtables-brnf to kernel 2.4 stevepyne Linux - Networking 0 04-29-2005 05:30 PM
ebtables firewall vishamr2000 Linux - Security 1 04-09-2005 01:34 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:46 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration