mirror of
https://github.com/kaboomserver/buildpack.git
synced 2024-06-28 22:10:35 +00:00
Remove rtun
This commit is contained in:
parent
d9288161c1
commit
ca67a644da
|
@ -2,12 +2,13 @@
|
||||||
|
|
||||||
# This is the core script that Heroku uses when booting up a dyno
|
# This is the core script that Heroku uses when booting up a dyno
|
||||||
|
|
||||||
PATH="$HOME/dtach/bin/:$HOME/java/bin/:$HOME/rtun/bin/:$PATH"
|
PATH="$HOME/dtach/bin/:$HOME/java/bin/:$PATH"
|
||||||
|
|
||||||
# Set up SSH for proxy server and schematics repository
|
# Set up SSH for proxy server and schematics repository
|
||||||
# Load keys from environmental variables
|
# Load keys from environmental variables
|
||||||
|
|
||||||
echo -n "$PROXY_KEY" >> rtun/rtun.yml
|
echo "$PROXY_KEY" > .ssh/proxy
|
||||||
|
chmod 600 .ssh/proxy
|
||||||
|
|
||||||
echo "$SCHEMATIC_KEY" > .ssh/id_rsa
|
echo "$SCHEMATIC_KEY" > .ssh/id_rsa
|
||||||
ssh-keyscan github.com >> .ssh/known_hosts
|
ssh-keyscan github.com >> .ssh/known_hosts
|
||||||
|
|
|
@ -4,4 +4,11 @@
|
||||||
# permits incoming connections
|
# permits incoming connections
|
||||||
# Resources for setting up the proxy server: https://github.com/kaboomserver/proxy
|
# Resources for setting up the proxy server: https://github.com/kaboomserver/proxy
|
||||||
|
|
||||||
rtun -f $HOME/rtun/rtun.yml
|
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
|
||||||
|
|
BIN
vendor/rtun/bin/rtun
vendored
BIN
vendor/rtun/bin/rtun
vendored
Binary file not shown.
14
vendor/rtun/rtun.yml
vendored
14
vendor/rtun/rtun.yml
vendored
|
@ -1,14 +0,0 @@
|
||||||
# Specify the gateway server.
|
|
||||||
gateway_url: ws://play.kaboom.pw:25564
|
|
||||||
|
|
||||||
forwards:
|
|
||||||
- port: 25565/tcp
|
|
||||||
destination: 127.0.0.1:25565
|
|
||||||
|
|
||||||
- port: 25565/udp
|
|
||||||
destination: 127.0.0.1:25565
|
|
||||||
|
|
||||||
- port: 19132/udp
|
|
||||||
destination: 127.0.0.1:19132
|
|
||||||
|
|
||||||
auth_key:
|
|
Loading…
Reference in a new issue