All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miguel Ghobangieno <mikeeusa@yahoo.com>
To: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Cc: netfilter@vger.kernel.org
Subject: Re: (DHCP) Ebtables ruleset isn't working, any ideas?
Date: Wed, 20 May 2009 05:32:32 -0700 (PDT)	[thread overview]
Message-ID: <545248.94047.qm@web44810.mail.sp1.yahoo.com> (raw)


I can't get DHCP to work through the firewall, I've tried everything, even:
ebtables -A FORWARD -p IPv4 --ip-sport 67:68 -j ACCEPT
ebtables -A FORWARD -p IPv4 --ip-dport 67:68 -j ACCEPT

Other things I tried:
ebtables -A FORWARD -i eth0 -o eth1 -p 0x800 --ip-src 192.168.0.1 --ip-proto udp --ip-sport 67:68 -j ACCEPT
ebtables -A FORWARD -i eth1 -o eth0 -p 0x800 --ip-dst 255.255.255.255/255.255.255.255 --ip-proto udp --ip-dport 67:68 -j ACCEPT

and before that:
ebtables -A FORWARD -p 0x800 --ip-src 192.168.0.1 --ip-proto udp --ip-sport 68 -j ACCEPT
ebtables -A FORWARD -p 0x800 --ip-dst 192.168.0.1 --ip-proto udp --ip-dport 67 -j ACCEPT


--- On Wed, 5/20/09, Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> wrote:

> From: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
> Subject: Re: Ebtables ruleset isn't working, any ideas?
> To: "Miguel Ghobangieno" <mikeeusa@yahoo.com>
> Cc: netfilter@vger.kernel.org
> Date: Wednesday, May 20, 2009, 7:24 AM
> On Tue, 19 May 2009, Miguel
> Ghobangieno wrote:
> 
> > Ok I broke the rules up, and I used the hex value for
> the protocals 
> > rather than the ascii "IP" etc; it workes now. This is
> a debian stable 
> > box, I guess the ebtables that comes in apt is too
> ancient. I would like 
> > to log everyone who attepts to access port 22 tcp on
> eth2 though (allow 
> > them through but log). 
> 
> If `ebtables -h log` does not produce the help text of the
> log watcher, 
> then you have to install ebtables manually, to get the
> required logging 
> functionality.
> 
> Best regards,
> Jozsef
> -
> E-mail  : kadlec@blackhole.kfki.hu,
> kadlec@mail.kfki.hu
> PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
> Address : KFKI Research Institute for Particle and Nuclear
> Physics
>           H-1525 Budapest 114,
> POB. 49, Hungary
> 


      


             reply	other threads:[~2009-05-20 12:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-20 12:32 Miguel Ghobangieno [this message]
2009-05-20 12:35 ` (DHCP) Ebtables ruleset isn't working, any ideas? Jozsef Kadlecsik
2009-05-20 13:58 ` Jozsef Kadlecsik
  -- strict thread matches above, loose matches on Subject: below --
2009-05-20 13:21 Miguel Ghobangieno
     [not found] <805815.64593.qm@web44802.mail.sp1.yahoo.com>
2009-05-20 17:03 ` Jozsef Kadlecsik
2009-05-20 18:42 Miguel Ghobangieno
2009-05-20 20:22 ` Jozsef Kadlecsik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=545248.94047.qm@web44810.mail.sp1.yahoo.com \
    --to=mikeeusa@yahoo.com \
    --cc=kadlec@blackhole.kfki.hu \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.