docker-vpn icon indicating copy to clipboard operation
docker-vpn copied to clipboard

SOCKS5 timeout on local network

Open laruche opened this issue 3 years ago • 2 comments

Hi Team,

We have some issues on export SOCK5 port on local network I try with bind-host to 0.0.0.0 or local ip But from outside, network is not available

laruche avatar May 11 '22 13:05 laruche

By default there is a socks proxy listening on port 1080 on localhost. If you'd like to make it available remotely you'll need to set the BIND_INTERFACE environment variable.

https://github.com/ethack/docker-vpn#customizing

BIND_INTERFACE=0.0.0.0 openconnect ...

# or
export BIND_INTERFACE=0.0.0.0 
openconnect ...

ethack avatar May 11 '22 22:05 ethack

Event with BIND_INTERFACE 0.0.0.0 The listen was OK on docker, but I have timeout on it (test on local network, and also on outside VM)

laruche avatar May 12 '22 15:05 laruche