add dns forwarding to connect script
This commit is contained in:
parent
83caf49675
commit
7d37f12b93
@ -67,7 +67,10 @@ def wireguard():
|
|||||||
]
|
]
|
||||||
)
|
)
|
||||||
subprocess.run(
|
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"],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user