about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/docker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/docker.go b/src/docker.go
index 5cc1411..b5398d8 100644
--- a/src/docker.go
+++ b/src/docker.go
@@ -46,7 +46,7 @@ func spawnCompanion(username string, accesscode string) {
 	setupDockerCLI()
 
 	sessionSalt := generateSessionSalt()
-	vpnRemoteAddress := "127.0.0.1"
+	vpnRemoteAddress := os.Getenv("HOSTNAME")
 
 	// get the vpnRemoteport and increment it
 	vpnRemotePort := currentVpnRemptePort