Remove rtun

This commit is contained in:
mathiascode 2020-02-10 23:49:19 +02:00
parent d9288161c1
commit ca67a644da
4 changed files with 11 additions and 17 deletions

View file

@ -2,12 +2,13 @@
# 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
# 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
ssh-keyscan github.com >> .ssh/known_hosts

View file

@ -4,4 +4,11 @@
# permits incoming connections
# 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

Binary file not shown.

14
vendor/rtun/rtun.yml vendored
View file

@ -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: