Added install script, openwrt 23.05, sing-box, tun2socks

This commit is contained in:
itdoginfo
2023-10-13 14:48:19 +03:00
parent fc9646eff1
commit 9b2bfbe1b3
10 changed files with 1499 additions and 558 deletions

View File

@@ -1,3 +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 5
ip route add table vpn default dev tun0
{% endif %}