gluon-next-node: add ebtables rules

This commit is contained in:
Matthias Schiffer 2013-09-28 22:15:37 +02:00
parent 8f20b25632
commit 7c55b5060e
2 changed files with 5 additions and 1 deletions

View File

@ -12,7 +12,7 @@ define Package/gluon-next-node
SECTION:=gluon
CATEGORY:=Gluon
TITLE:=Next-node anycast address
DEPENDS:=+gluon-core +gluon-mesh-batman-adv +iproute2 +kmod-macvlan
DEPENDS:=+gluon-core +gluon-ebtables +gluon-mesh-batman-adv +iproute2 +kmod-macvlan
endef
define Package/gluon-next-node/description

View File

@ -0,0 +1,4 @@
rule FORWARD --logical-out br-freifunk -o bat0 -d @next_node.mac@ -j DROP
rule OUTPUT --logical-out br-freifunk -o bat0 -d @next_node.mac@ -j DROP
rule FORWARD --logical-out br-freifunk -o bat0 -s @next_node.mac@ -j DROP
rule OUTPUT --logical-out br-freifunk -o bat0 -s @next_node.mac@ -j DROP