diff --git a/scripts/connect_basic.py b/scripts/connect_basic.py index 5b91169..e5567a8 100644 --- a/scripts/connect_basic.py +++ b/scripts/connect_basic.py @@ -67,7 +67,10 @@ def wireguard(): ] ) subprocess.run( - ["nsenter", "--net=/run/vpn/net", "/snacks/wireguard/scripts/inner_basic.sh"], + ["/snacks/wireguard/scripts/inner_basic.sh"], + ) + subprocess.run( + ["nft", "-f", "/snacks/wireguard/scripts/dns.nft"], )