Get static IP by renting VPS and route traffic via VPN?

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

this?
https://github.com/mochman/Bypass_CGNAT

Use your IPv6 address to host the server.

Or Rathole .

If you are renting a game server, that server will have its own IP and you won’t have to do anything with your own network.

If you want the server within your own network a much easier option would be to use port forwarding on your router.

Edit: Completely misunderstood the question. Others have answered much better.

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).

Just buy public ip. Most ISPs do offer them for fairly cheap

Great answer.

This is what we do behind 5g and Starlink - yes starlink has a public IP but it’s subject to change.

oh wow that might actually be it. I’ll give it a good read. Thank you!

Wont everyone need a IPv6 to conenct tho?

He’s behind DS-Lite. There is a IPv4 NAT already at the ISP level.

Highly dependent on the ISP. The ISP I am a customer of sells them. The ISP I’m an employee of only sells them on business and enterprise accounts.

I don’t know about “cheap”, but comparing to VPS pricing, probably cheaper. That is of course IF you can get it.

There’s always the posibility of IPv6 with DDNS

Yes. But who doesn’t have ipv6 these days?

Alternatively you can use rathole - it is a relay you asked about.

interesting. in EU you can rent them for about 4e/month, together with your internet connection

From what i can understand is that ISPs that give you a routable IP wont sell you a static unless you are a business customer.

But ISPs that give you CGNAT will sell you the static at an upcharge.

I will look into this as well, thank you