From e5da228cb1c441bb1641e2203cc08c2c74e9a5f9 Mon Sep 17 00:00:00 2001 From: Christian Dresel Date: Tue, 8 Dec 2020 12:57:22 +0100 Subject: [PATCH] fff-babeld: Add rule to lookup in fff table for everything except wireguard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With this patch the router answers in traceroute over the fff table with Freifunk IPs and not with the WAN IP. All other connections use the fff table too. We already have the rules with 5000 and 5001 so that wireguard does not use the fff table anyway and connect the VPN only via the main table. Signed-off-by: Christian Dresel Acked-by: Fabian Bläse Reviewed-by: Robert Langhammer --- src/packages/fff/fff-babeld/Makefile | 2 +- .../fff/fff-babeld/files/etc/uci-defaults/02-network-rules | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/packages/fff/fff-babeld/Makefile b/src/packages/fff/fff-babeld/Makefile index b2ccac89..ba8a7609 100644 --- a/src/packages/fff/fff-babeld/Makefile +++ b/src/packages/fff/fff-babeld/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=fff-babeld -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_BUILD_DIR:=$(BUILD_DIR)/fff-babeld diff --git a/src/packages/fff/fff-babeld/files/etc/uci-defaults/02-network-rules b/src/packages/fff/fff-babeld/files/etc/uci-defaults/02-network-rules index df78e16e..589632b3 100644 --- a/src/packages/fff/fff-babeld/files/etc/uci-defaults/02-network-rules +++ b/src/packages/fff/fff-babeld/files/etc/uci-defaults/02-network-rules @@ -37,6 +37,11 @@ uci batch <