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

@ -20,4 +20,9 @@ iptables -t nat -A POSTROUTING -s 192.168.254.0/24 -o eth0 -j MASQUERADE
# Dynamic subnet
iptables -t nat -A POSTROUTING -s 192.168.255.0/24 -o eth0 -j MASQUERADE
openvpn --config "$OPENVPN/udp1194.conf"
conf="$OPENVPN/openvpn.conf"
# TODO Remove after we stop caring about backwards compatibility
[ ! -s "$conf" ] && conf="$OPENVPN/udp1194.conf"
openvpn --config "$conf"