1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Changes with OpenVPN TCP

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-11-06 18:10:30 +01:00
parent 48c5b00085
commit 9d3249cfa6
3 changed files with 7 additions and 2 deletions

View file

@ -688,6 +688,8 @@ _set_config_from_vps() {
set openvpn.omr.ca="/etc/luci-uploads/ca.crt"
set openvpn.omr.enabled=$openvpn_state
set openvpn.omr.tls_client=1
set openvpn.omr.client=1
set openvpn.omr.allow_recursive_routing=1
EOF
if [ "$(uci -q get openvpn.omr.remote)" != "127.0.0.1" ]; then
uci -q set openvpn.omr.remote="$vpsip"