# Iptables configuration This is required: iptables -P FORWARD ACCEPT It can possibly be modified to not accept by default, and only allow to/from our networks but I don't know how to do that. # Useful commands Cleaning everything and restarting. ip link del dev wg0 systemctl restart systemd-networkd # References * https://www.eisfunke.com/article/docker-wireguard-systemd.html - Notice that this is not using the "alternate routing table" technique. * https://nickb.dev/blog/routing-select-docker-containers-through-wireguard-vpn * https://docs.docker.com/network/bridge/#enable-forwarding-from-docker-containers-to-the-outside-world