diff --git a/vpn.sh b/vpn.sh index 7927420..a0dab78 100755 --- a/vpn.sh +++ b/vpn.sh @@ -19,6 +19,7 @@ case "$1" in server*) f=/etc/openvpn/${1}.conf if [ -f "$f" ]; then + sudo modprobe tun sudo openvpn --config ${f} else echo "Config file $f is missing"