Forward traffic from a local port to a remote machine
100K+
Listens on a port and forwards traffic to another host/port
These environment variable need to set
LOCAL_PORT - The local port to listen to, remember to map the port from the host to the containerTARGET - IP or DNS name of the target hostTARGET_PORT - Port on target host to forward the traffic toPROTO - TCP or UDP, defaults to TCPdocker pull ajoergensen/socat
docker run --name socat -e LOCAL_PORT=5000 -e TARGET=remotehost.lan -e TARGET_PORT=5000 -p 5000:5000 -d --rm ajoergensen/docker-socat
Content type
Image
Digest
sha256:474a55874…
Size
22.6 MB
Last updated
over 1 year ago
docker pull ajoergensen/socat