From b3e9302650c11fa90547c75aeff5826e200b431d Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 28 Dec 2023 18:52:13 +0300 Subject: [PATCH] forgot to bridge on the gate ports)))) Signed-off-by: Alex A. Naanou --- gate-traefik/templates/etc/network/interfaces | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gate-traefik/templates/etc/network/interfaces b/gate-traefik/templates/etc/network/interfaces index 9dd35da..880a185 100644 --- a/gate-traefik/templates/etc/network/interfaces +++ b/gate-traefik/templates/etc/network/interfaces @@ -4,7 +4,6 @@ iface lo inet6 loopback auto lan iface lan inet dhcp - post-up echo 1 > /proc/sys/net/ipv4/ip_forward hostname $(hostname) auto admin @@ -16,3 +15,14 @@ iface wan inet static address ${WAN_IP} gateway ${WAN_GATE} hostname $(hostname) + +auto br0 +iface br0 inet stattic + post-up echo 1 > /proc/sys/net/ipv4/ip_forward + pre-up brctl addbr br0 + + bridge-ports lan wan + bridge-sip off + hostname $(hostname) + + post-down brctl delbr br0