I hereby claim:
- I am vibroaxe on github.
- I am vibroaxe (https://keybase.io/vibroaxe) on keybase.
- I have a public key ASCNIxHCjEpTntgl5Z1HijEFFt9HPn3QSj-Aeo1fLao8UAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
HOST_IP=`hostname -I` | |
docker run --restart unless-stopped --name steamcache-dns -p $HOST_IP:53:53/udp -e USE_GENERIC_CACHE=true -e LANCACHE_IP=$HOST_IP steamcache/steamcache-dns:latest | |
docker run --restart unless-stopped --name cache-mono -v /cache/data:/data/cache -v /cache/logs:/data/logs -p $HOST_IP:80:80 steamcache/monolithic:latest | |
docker run --name sniproxy -p 443:443 steamcache/sniproxy:latest | |
echo Please configure your dhcp server to serve dns as $HOST_IP |
# Setup the service
curl -sSL https://gist.githubusercontent.com/VibroAxe/80d55cc32b5c3290d7ee8b44b9d9a8cd/raw/autossh@.service | \
sudo tee /etc/systemd/system/autossh@.service
sudo useradd -g nogroup -s /bin/false -m autossh
sudo -u autossh mkdir -p /home/autossh/.ssh # and copy your private key here
sudo -u autossh ssh-keygen -t ed25519 # Generate a new private key