Sign inSign up

andrius/socat

By andrius

Updated almost 8 years ago

socat is a tility that establishes two bidirectional byte streams and transfers data between them

Image
0

427

andrius/socat repository overview

socat

In case if openconnect will be started on Debian VPS, port 1080 will be locked only to 127.0.0.1, perhaps because of openconnect tun routing. Connections to the mapped port would be rejected.

Socat can fix that ;)

Following command will forward port 1082 to the docker container with IP 172.17.0.5, port 1080

socat tcp-listen:1082,reuseaddr,fork tcp:172.17.0.5:1080

Tag summary

Content type

Image

Digest

Size

3 MB

Last updated

almost 8 years ago

docker pull andrius/socat