1
Utilities and 3rd Party Applications / Re: Multidorf: ~Hosted~ Simultaneous Multiplayer
« on: May 11, 2021, 06:45:43 pm »This looks really cool!
Would you consider sharing a VM image so we could host these ourselves?
The easiest way would be to go to the source at https://github.com/white-rabbit-dfplex/dfplex, check out the code, and using Docker, run:
Code: [Select]
docker build --pull --rm -f "Dockerfile" -t dfplex:latest "."
docker run --security-opt seccomp=unconfined --rm -it -p 1234:1234 -p 5000:5000 -p 8000:8000/tcp dfplex:latestHowever, the specifics of Multidorf are a little more complex, for security purposes – for example, the HTTP and Chat servers are disabled, and the websocket server (:1234) is only accessible through an Edge Gateway service I wrote, which also allows me to enforce password protection. But for personal use, you should be fine just running the Docker container on a server that you own.
. For example, I added password protection by shimming all connections through a websocket edge service that performs validation of a single-use authorization token in order to gate access to the DFPlex server, which is itself running in a VPC that is not accessible to the public internet. This also solves the problem of exposing the underlying filesystem -- I've disabled the http server on the DFPlex instances and just use a single static webserver for