buildpack/script/proxy.sh

15 lines
425 B
Bash
Raw Normal View History

#!/bin/sh
2019-11-30 18:05:23 +00:00
# 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
2019-11-30 18:51:52 +00:00
set -x
2019-11-30 18:57:33 +00:00
ssh -i ~/.ssh/proxy \
2019-11-30 16:18:45 +00:00
-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