Rtun is no longer in use

This commit is contained in:
mathiascode 2020-04-09 22:17:31 +03:00
parent 356c30b2c1
commit 6ca2958096
5 changed files with 10 additions and 11 deletions

View File

@ -1,4 +0,0 @@
#!/bin/sh
while true; do
./rtun-server
done

Binary file not shown.

View File

@ -1,7 +0,0 @@
# Gateway server binds to this address to communicate with agents.
control_address: 0.0.0.0:25564
# List of authorized agents follows.
agents:
- auth_key: <redacted>
ports: [25565/tcp, 25565/udp, 19132/udp]

5
setup.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
adduser --disabled-password --gecos "" remote
mkdir /home/remote/.ssh/
chmod 700 /home/remote/.ssh/
mv authorized_keys /home/remote/.ssh/

5
sshd_config Normal file
View File

@ -0,0 +1,5 @@
GatewayPorts yes
ClientAliveInterval 15
Match User remote
PasswordAuthentication no