From cb35b0d10ab46f4bbcf76d1aac4db000ed5b2c1a Mon Sep 17 00:00:00 2001
From: T-X <linus.luessing@c0d3.blue>
Date: Fri, 16 Nov 2018 21:33:59 +0100
Subject: [PATCH] gluon-ebtables: build kernel with ebt_dnat and ebt_redirect
 (#1472)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The redirect and dnat target are needed for gluon-alt-esc-client to
forward frames to the selected, alternative gateways.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
---
 package/gluon-core/Config.in | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/gluon-core/Config.in b/package/gluon-core/Config.in
index 9def3c299..caf4f4c6c 100644
--- a/package/gluon-core/Config.in
+++ b/package/gluon-core/Config.in
@@ -104,6 +104,10 @@ config KERNEL_BRIDGE_EBT_ARP
 	bool
 	select KERNEL_BRIDGE_NF_EBTABLES
 
+config KERNEL_BRIDGE_EBT_DNAT
+	bool
+	select KERNEL_BRIDGE_NF_EBTABLES
+
 config KERNEL_BRIDGE_EBT_IP
 	bool
 	select KERNEL_BRIDGE_NF_EBTABLES
@@ -124,6 +128,9 @@ config KERNEL_BRIDGE_EBT_MARK_T
 	bool
 	select KERNEL_BRIDGE_NF_EBTABLES
 
+config KERNEL_BRIDGE_EBT_REDIRECT
+	bool
+	select KERNEL_BRIDGE_NF_EBTABLES
 
 # Not all of the following modules are really required for Gluon, but fw3 pulls
 # them in, so we add them to the kernel config to reduce the number of loaded
-- 
GitLab