From f1e85c959eea751b06bd5353bed1d2c5a2b35b27 Mon Sep 17 00:00:00 2001 From: Kyle Manna Date: Sun, 6 Jul 2014 10:51:44 -0700 Subject: [PATCH] genconfig: Fix typo, use Docker for port mapping * Use docker run ... -p 1337:1194/udp kylemanna/openvpn --- bin/ovpn_genconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/ovpn_genconfig b/bin/ovpn_genconfig index 3dc13f3..6862584 100755 --- a/bin/ovpn_genconfig +++ b/bin/ovpn_genconfig @@ -147,7 +147,8 @@ push "dhcp-option DNS 8.8.4.4" push "dhcp-option DNS 8.8.8.8" proto $OVPN_PROTO -port $OVPN_PORT +# Rely on Docker to do port mapping, internally always 1194 +port 1194 dev tun0 status /tmp/openvpn-status.log