mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-18 17:33:31 +00:00
Update OpenVPN genovpn.sh
This commit is contained in:
parent
c1504b115b
commit
8fb636a063
@ -2,11 +2,12 @@
|
||||
|
||||
ddns=`uci get openvpn.myvpn.ddns`
|
||||
port=`uci get openvpn.myvpn.port`
|
||||
proto=`uci get openvpn.myvpn.proto`
|
||||
|
||||
cat > /tmp/my.ovpn <<EOF
|
||||
client
|
||||
dev tun
|
||||
proto tcp-client
|
||||
proto $proto
|
||||
remote $ddns $port
|
||||
resolv-retry infinite
|
||||
nobind
|
||||
|
Loading…
Reference in New Issue
Block a user