From 1384b2ef7864ec85d94f4616b1c42339a7286333 Mon Sep 17 00:00:00 2001 From: maride Date: Sat, 8 Sep 2018 02:03:10 +0200 Subject: Fix: map the correct port --- src/access.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/access.go b/src/access.go index 1292489..69c8fb1 100644 --- a/src/access.go +++ b/src/access.go @@ -86,7 +86,7 @@ func startVPN() (err error) { "1194/udp": []nat.PortBinding{ { HostIP: "0.0.0.0", - HostPort: "1194", + HostPort: fmt.Sprintf("%d", *remotePort), }, }, }, -- cgit 1.4.1