Added IPv6 support to client script
Signed-off-by: Tilo Spannagel <development@tilosp.de>
This commit is contained in:
parent
1d2a2e8b29
commit
abdf537da5
@ -37,8 +37,15 @@ nobind
|
|||||||
dev $OVPN_DEVICE
|
dev $OVPN_DEVICE
|
||||||
key-direction 1
|
key-direction 1
|
||||||
remote-cert-tls server
|
remote-cert-tls server
|
||||||
remote $OVPN_CN $OVPN_PORT $OVPN_PROTO
|
|
||||||
$OVPN_ADDITIONAL_CLIENT_CONFIG
|
remote $OVPN_CN $OVPN_PORT $OVPN_PROTO"
|
||||||
|
if [ "$OVPN_PROTO" == "udp6" ]; then
|
||||||
|
echo "remote $OVPN_CN $OVPN_PORT udp"
|
||||||
|
fi
|
||||||
|
if [ "$OVPN_PROTO" == "tcp6" ]; then
|
||||||
|
echo "remote $OVPN_CN $OVPN_PORT tcp"
|
||||||
|
fi
|
||||||
|
echo "$OVPN_ADDITIONAL_CLIENT_CONFIG
|
||||||
"
|
"
|
||||||
if [ "$mode" == "combined" ]; then
|
if [ "$mode" == "combined" ]; then
|
||||||
echo "
|
echo "
|
||||||
|
Loading…
Reference in New Issue
Block a user