CW DD-WRT Novice
Joined: 20 May 2009 Posts: 22
|
Posted: Tue Apr 05, 2011 13:29 Post subject: OepnVPN, dd-wrt 2.6 kernel, and ebtables |
|
I've a WNDR3700 running this version:
Code: | DD-WRT v24-sp2 (02/17/11) std - build 16214 |
I was intending to build an OpenVPN bridge to a site at another city and a laptop that moves around.
I was trying to implement the following DHCP block when I ran into issues with ebtables:
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=477032
My syndrome looks very similar to the following:
https://dev.openwrt.org/ticket/5001
Basically ebtable is not loaded at startup and I could load all the modules manually with insmod. lsmod then gives the following:
Code: | Module Size Used by
ebt_vlan 1600 0
ebt_mark_m 672 0
ebt_mark 784 0
ebt_limit 1040 0
ebt_arp 1584 0
ebt_802_3 736 0
ebt_among 2240 0
ebt_pkttype 576 0
ebtable_nat 944 0
ebt_dnat 848 0
ebtable_broute 784 0
ebt_redirect 960 0
ebtable_filter 944 0
ebt_ip 1296 0
ebtables 22551 3 ebtable_nat,ebtable_broute,ebtable_filter
nf_nat_pptp 1376 0
nf_conntrack_pptp 3392 1 nf_nat_pptp
nf_nat_proto_gre 944 1 nf_nat_pptp
nf_conntrack_proto_gre 2485 1 nf_conntrack_pptp
etherip 4304 0
bonding 75824 0
usblp 8816 0
usb_storage 34344 0
sd_mod 22540 0
scsi_wait_scan 448 0
scsi_mod 75652 2 usb_storage,sd_mod
ath_mimo_pci 430671 0
ath_mimo_hal 219258 3 ath_mimo_pci
ag7100_mod 84684 0 |
After loading those modules I ran the following command:
Code: | ebtables -I FORWARD -i tap0 -p IPv4 --ip-protocol udp --ip-destination-port 67:68 -j DROP |
...and got the following:
Code: | The kernel doesn't support a certain ebtables extension, consider recompiling your kernel or insmod the extension. |
/tmp/var/log/messages says this:
Code: | Apr 5 22:37:17 wfwrt01 user.err kernel: [ 756.810000] eb_tables: ip.0 match: invalid size 32 (kernel) != (user) 28 |
Is there a known solution / workaround? |
|