Browse Source

add connman config to make docker not screw up our internet access

Bananicorn 1 year ago
parent
commit
5c24f4513f
2 changed files with 7 additions and 0 deletions
  1. 6 0
      devuan_setup/config/connman/main.conf
  2. 1 0
      devuan_setup/setup_system.sh

+ 6 - 0
devuan_setup/config/connman/main.conf

@@ -0,0 +1,6 @@
+[General]
+
+# List of blacklisted network interfaces separated by ",".
+# NetworkInterfaceBlacklist = vmnet,vboxnet,virbr,ifb,ve-,vb-
+# NOTE: this is needed for docker to be able to access the internet - without it, docker will screw up all outgoing connections!
+NetworkInterfaceBlacklist = vmnet,vboxnet,docker,veth

+ 1 - 0
devuan_setup/setup_system.sh

@@ -101,6 +101,7 @@ chmod 755 $DOCKER_COMPOSE_PATH
 
 #wifi and bluetooth
 sudo apt install -y connman-gtk
+sudo cp ./config/connman/main.conf /etc/connman/main.conf
 sudo apt purge -y isc-dhcp-client
 sudo apt purge -y isc-dhcp-common