diff --git a/openvpn/start.sh b/openvpn/start.sh index 470b16b..3ef9456 100755 --- a/openvpn/start.sh +++ b/openvpn/start.sh @@ -163,6 +163,8 @@ if [[ $VPN_ENABLED == "yes" ]]; then echo "[info] Starting OpenVPN..." | ts '%Y-%m-%d %H:%M:%.S' cd /config/openvpn exec openvpn --config ${VPN_CONFIG} & + # give openvpn some time to connect + sleep 5 #exec /bin/bash /etc/openvpn/openvpn.init start & exec /bin/bash /etc/qbittorrent/iptables.sh else