Download image alpine/socat:latest using Synology Docker GUI on 'Register' page or with 'docker pull alpine/socat:latest'

Now you can configure your port forward. I've used it to forward IPv4 requests to an IPv6 address:
docker run -d --restart=always --name socat_6281_Backup \
--network="host" \
alpine/socat \
TCP4-LISTEN:6281,fork,su=nobody TCP6:[2a00:61e0:41b1:dc01:211:32ff:fe6c:13e5]:6281




More info: https://hub.docker.com/r/alpine/socat

  • No labels