mirror of
https://github.com/itdoginfo/ansible-openwrt-hirkn.git
synced 2025-12-22 15:13:35 +05:00
Added install script, openwrt 23.05, sing-box, tun2socks
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user