Hello,
so I want to host a gameserver but I can’t really do it (apparently) because I dont have a private public IPv4 Address. I’m getting into the internet via DS Lite tunnel (my IP is shared with other customers). My ISP wont provide me with my own IPv4 sadly.
So my question is. Is it possible to rent a server somehwere to get a static IP?
The idea so far is to put the ISP’s router into bridge mode so everything just gets through to my firewall. If I have seen it correctly, the pfSense is a router and a firewall at the same time. So I should be able to use it to server an internetconnection to my network.
Next i thought i could probably route my home network via the “normal” internet and the “server” network via VPN in hopes to get the game servers public.
Does anyone here have an idea if this is possible? I feel like it should be but I also feel like this might be dumb? Not quite sure what happens when my IP changes… but I guess my firewall would just reconnect to the VPN and all is fine?´Don’t really want to rent some game servers online or leave my own PC online all the time so we can play.
I sadly don’t really know how to start tackling this. Seems like a fun project tho
Yeah, you can use WireGuard on pfsense to connect to your VPS, and just use policy routing to route traffic from the server out of the VPS gateway.
Not quite sure what happens when my IP changes…
If you set up a WireGuard tunnel between the VPS and your pfsense box, it should be fine. In a WG tunnel between 2 peers, as long as one is reachable the connection can be established. So your VPS is always gonna be reachable because its IP is presumably static (some stay the same until you reboot them, like AWS EC2 instances, but with other providers they’ve stayed the same ime).