mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-06-07 08:31:55 +00:00
14 lines
286 B
Markdown
14 lines
286 B
Markdown
|
# forward your traffic behind NAT etc.
|
||
|
|
||
|
```
|
||
|
docker service create \
|
||
|
--name socat \
|
||
|
--publish 81:80 \
|
||
|
--ENV REMOTE_HOST=example.com \
|
||
|
--ENV REMOTE_PORT=82 \
|
||
|
--ENV LOCAL_POST=80 \
|
||
|
newnius/rpi-port-forward
|
||
|
```
|
||
|
|
||
|
Ref: [marcnuri/port-forward](https://hub.docker.com/r/marcnuri/port-forward/)
|