buildpack/script/proxy.sh
2019-11-30 20:57:33 +02:00

15 lines
425 B
Bash
Executable file

#!/bin/sh
# Since we can't open TCP ports on Heroku, we need to forward traffic to a proxy server that
# permits incoming connections
# Resources for setting up the proxy server: https://github.com/kaboomserver/proxy
set -x
ssh -i ~/.ssh/proxy \
-o StrictHostKeyChecking=no -o ExitOnForwardFailure=yes -o StreamLocalBindUnlink=yes \
-c aes128-ctr \
-C -S none -N -T -R \
25565:localhost:25565 \
remote@play.kaboom.pw