Open muelli opened 5 years ago
Just wondering have you uncommented #net.ipv4.ip_forward=1
in your /etc/sysctl.conf
file? It seemed to have made using wlan0 and wlan1 simultaneously easier for me.
There is a discussion topic demonstrating how to get Docker and Comitup to coexist.
After configuring systemd-resolved to not spawn a nameserver https://github.com/davesteele/comitup/issues/56 I can get the Web interface running and configure credentials of another WiFi. But then I am unable to connect to the Internet. I do get an IP address and the nameserver (10.41.0.1) works. But it seems that the packets are not being forwarded.
Here is another format that may be easier to read:
Are these docker firewall rules getting in the way?
The routes seem to be fine, though:
wlan0 is the hotspot and wlan1 the uplink connection.
I have followed https://serverfault.com/questions/200635/best-way-to-clear-all-iptables-rules to clear all rules:
Then after restarting comitup, I could indeed connect.
Indeed, Docker seems to make trouble when trying to forward packets: https://serverfault.com/questions/852817/docker-isolation-iptables-rule-is-blocking-network-bridge-to-forward-traffic. This answer calls
net.bridge.bridge-nf-call-iptables
out as the culprit. And indeed, when setting that to 0, I can route packets. https://serverfault.com/questions/963759/docker-breaks-libvirt-bridge-network has some discussion, too.I don't really know whose bug it is and what could be done. I guess that it just requires some more iptables trickery to be robust enough.