diff options
author | maride <maride@darknebu.la> | 2018-09-08 02:03:10 +0200 |
---|---|---|
committer | maride <maride@darknebu.la> | 2018-09-08 02:03:10 +0200 |
commit | 1384b2ef7864ec85d94f4616b1c42339a7286333 (patch) | |
tree | 8c7063c9bfb8e29ba650c89394205d153a8c97ff | |
parent | 9ee92da5e3d52fe11415193a9391eee3ad541c72 (diff) |
Fix: map the correct port
-rw-r--r-- | src/access.go | 2 |
1 files changed, 1 insertions, 1 deletions
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), }, }, }, |