ovpn: Remove reference to udp/1194

* Remove references to udp/1194.
* Works better with non-standard ports and tcp.
This commit is contained in:
Kyle Manna
2014-06-30 22:56:26 -07:00
parent 34eca5b96f
commit 836b473d20
3 changed files with 10 additions and 5 deletions

View File

@ -21,7 +21,7 @@ fi
[ -z "$proto" ] && proto=1194
[ -z "$port" ] && port=udp
conf=$OPENVPN/udp1194.conf
conf=$OPENVPN/openvpn.conf
if [ -f "$conf" ]; then
bak=$conf.$(date +%s).bak
echo "Backing up $conf -> $bak"
@ -49,6 +49,6 @@ route 192.168.254.0 255.255.255.0
proto $proto
port $port
dev tun1194
status /tmp/openvpn-status-1194.log
dev tun0
status /tmp/openvpn-status.log
EOF