(DHCP) Ebtables ruleset isn't working, any ideas?
Kernel (newest stable w/grsecurity patch):
2.6.29.3-grsec
title Debian GNU/Linux, kernel 2.6.29.3-grsec
#lock
root (hd0,0) kernel /boot/vmlinuz-2.6.29.3-grsec root=/dev/sda1 ro quiet initrd /boot/initrd-2.6.29.3.img
Ebtables (Debian ancient!)
ebtables v2.0.8-2 (May 2007)
Quoted 42 lines · Jozsef Kadlecsik
From: Jozsef Kadlecsik <[email protected]>
Subject: Re: (DHCP) Ebtables ruleset isn't working, any ideas?
To: "Miguel Ghobangieno" <[email protected]>
Cc: [email protected]
Date: Wednesday, May 20, 2009, 12:35 PMQuoted 1 line · Miguel Ghobangieno
I can't get DHCP to work through the firewall, I've
tried everything, even:
Quoted 1 line
ebtables -A FORWARD -p IPv4 --ip-sport 67:68 -j
ACCEPT
Quoted 1 line
ebtables -A FORWARD -p IPv4 --ip-dport 67:68 -j
ACCEPT
Quoted 3 lines
Other things I tried:
ebtables -A FORWARD -i eth0 -o eth1 -p0x800--ip-src192.168.0.1 --ip-proto udp --ip-sport 67:68 -j ACCEPT
Quoted 1 line
ebtables -A FORWARD -i eth1 -o eth0 -p
0x800--ip-dst255.255.255.255/255.255.255.255 --ip-proto udp --ip-dport 67:68 -j ACCEPT
Quoted 3 lines
and before that:
ebtables -A FORWARD -p0x800--ip-src 192.168.0.1--ip-proto udp --ip-sport 68 -j ACCEPT
Quoted 1 line
ebtables -A FORWARD -p
0x800--ip-dst 192.168.0.1--ip-proto udp --ip-dport 67 -j ACCEPT
What is your kernel version? What is your ebtables version?
Best regards,
Jozsef
-
E-mail : [email protected], [email protected]
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear PhysicsH-1525 Budapest 114,POB. 49, Hungary