about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/access.go2
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),
 				},
 			},
 		},