The original post: /r/selfhosted by /u/Wolfslabhd on 2024-10-13 16:30:43.
Currently I have a VPS through OVHcloud that my current minecraft server runs through. This is just for me and some friends. The reason I do it like this is because I have starlink, so I have CGNAT. I got it all working by using tailscale to connect my Ubuntu VM running Pelican Panel that hosts my server to the Ubuntu VPS I have rented out. It currently only has one IPV4. I’d like to run a modded forge server as well using 25565 so people don’t have to type in a port. I can order as many IPV4’s as I’d like. It used NGINX proxy manager as well. I’ve never had to setup a server with multiple IPs like this before, so if I order another IP, I’m not quite sure where I’d start with configuring it to keep them seperated. I want both servers to run at the same time. The link below is how I have NGINX setup in another post I made before. Any idea how I’d configure NGINX to use one of the 2 IPs for one server, then use the other IP for another server? Locally I’d have the current server setup as 25565 for its port, then the other one 25568. But publicly they need to be 25565 for their own IPV4’s.
https://www.reddit.com/r/selfhosted/comments/1di987l/comment/l9c7um8/