(・x・)

This commit is contained in:
itdoginfo
2024-03-09 12:29:54 +03:00
parent 8f18b95b1e
commit d0fad434cc
5 changed files with 32 additions and 32 deletions

View File

@@ -0,0 +1,8 @@
#!/bin/sh
{% if tunnel == "wg" %}
ip route add table vpn default dev wg0
{% elif (tunnel == "openvpn") or (tunnel == "singbox") or (tunnel == "tun2socks") %}
sleep 10
ip route add table vpn default dev tun0
{% endif %}