Skip to main content

Test Gluetuns ip connection | cut the connection in Docker

Cut the vpn connection from Gluetun to your other apps
sudo docker exec gluetun wg-quick/bin/sh down-c wg0"kill \$(cat /tmp/wireguard.pid)"

Now bring the VPN (Gluetun) back up:
sudo docker exec gluetun /bin/sh -c "wg-quick up wg0wg0"