Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - kwaz

Pages: [1]
1
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:latest

However, 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.

2
I've been really enjoying http://www.bay12forums.com/smf/index.php?topic=176070 white-rabbit's DFPlex mod for a while, and got the idea to set up a website to let anyone spin up a hosted version, without needing to worry about port forwarding or exposing their computer to the public internet.

You can check out a demo server here: https://play.multidorf.com/demo
(location is us-east so you may have some lag if you aren't near the server)

Let me know if you have any questions. white-rabbit, you're the best for making this possible.

If anybody is looking for folks to play co-op with, you can join this Discord specifically for that purpose: https://discord.com/invite/vzeHQFaRkf

3
^ OP of the above reddit post here. I'll make a separate thread (edit: http://www.bay12forums.com/smf/index.php?topic=178441.0), but I suppose this is a good enough spot to address some questions.

I don't know that I've "solved" any of the problems with DFPlex in a way that helps anyone that isn't willing to set up multiple levels of infrastructure in front of their DFPlex server :). 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 https://play.multidorf.com/demo. Definitely want to contribute my UI changes to https://github.com/Ankoku/df-webfort upstream (the ones that allow changing the tileset/textset via a dropdown instead of url params) although those are obviously quite basic.

Pages: [1]