Skip to content

Commit

Permalink
luci-app-openvpn-server: fix not start (coolsnowwolf#8840)
Browse files Browse the repository at this point in the history
Co-authored-by: W_Y_CPP <[email protected]>
  • Loading branch information
Beginner-Go and WYC-2020 authored Feb 9, 2022
1 parent 2e4d211 commit 57f538e
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ uci -q batch <<-EOF >/dev/null
set network.vpn0=interface
set network.vpn0.ifname='tun0'
set network.vpn0.proto='none'
commit network
delete firewall.openvpn
Expand Down Expand Up @@ -44,6 +44,13 @@ uci -q batch <<-EOF >/dev/null
set firewall.lantovpn.dest='vpn'
commit firewall
delete ucitrack.@openvpn[-1]
add ucitrack openvpn
set ucitrack.@openvpn[-1].init=openvpn
commit ucitrack
EOF

chmod 0777 /etc/openvpn/server/checkpsw.sh
Expand Down

0 comments on commit 57f538e

Please sign in to comment.