Skip to content

Commit

Permalink
Fix it
Browse files Browse the repository at this point in the history
  • Loading branch information
Mo Balaa committed Jun 17, 2024
1 parent 590e32b commit 6c7ce23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client-link/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ else
# Just opening both TCP and UDP is the quick and dirty way of ensuring both protocols work
# In the future, specifying a protocol in the docker compose snippet may be necessary
# -- 2024-04-07 zacharylott94@gmail.com
socat TCP4-LISTEN:$CENTER_PORT,fork,reuseaddr TCP4:$EXPOSE,reuseaddr,fork &
socat UDP4-LISTEN:$CENTER_PORT,fork,reuseaddr UDP4:$EXPOSE,reuseaddr,fork
socat TCP4-LISTEN:$CENTER_PORT,fork,reuseaddr TCP4:$EXPOSE,reuseaddr&
socat UDP4-LISTEN:$CENTER_PORT,fork,reuseaddr UDP4:$EXPOSE,reuseaddr
else
echo "Caddy is disabled. Using socat to forward traffic to app."
socat TCP4-LISTEN:8080,fork,reuseaddr TCP4:$EXPOSE,reuseaddr &
Expand Down

0 comments on commit 6c7ce23

Please sign in to comment.