From 41c80e9d71fd6abc0d088a760be48365081b6b6a Mon Sep 17 00:00:00 2001 From: metrix78 Date: Sat, 9 Jul 2022 15:29:25 -0500 Subject: [PATCH] Add Debian interface auto configuration --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 57db410..a0fc6dd 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,20 @@ $ sudo iptables -A FORWARD -i my-bridge -j ACCEPT $ sudo dhcpcd my-bridge ``` +## Debian 11 (_Bullseye_) +`apt install bridge-utils` before modifying the network config. After installing, modify `/etc/network/interfaces` eth0 interface and add my-bridge interface: +``` +iface eth0 inet manual + +auto my-bridge +iface my-bridge inet dhcp + bridge_ports eth0 + pre-up ip link add my-bridge type bridge + pre-up iptables -A FORWARD -i my-bridge -j ACCEPT + +``` + +## Docker network Once the bridge is ready, you can create the network: ```