Hi everyone
Like many of you, my carrier put me behind a CGNAT. Currently, I just rented a vps, installed wireguard on it and forwarded ports 80 and 443 into my home network.
Now, as I need to redo some things in my infrastructure anyway, I asked myself if it is possible to do it in a “nicer”(?) way.
I would like to achieve the following things:
- Have a “public” and static ip address on my UDM Pro´s WAN Port (Router).
- Have “public traffic” in FRONT of my Firewall (UDM) and not inside my network.
- Have a “cleaner” setup (?)
As I have an old thin client (Futro S920 with 3 lan ports), I am looking for a way to make this something like a “VPN Gateway”? It would be the first (and only) device behind my fiber ONT (at port 1)", connected to my vps using Wireguard and serve the “VPN traffic” out to “Port 2” which is connected to the WAN Port of my UDM-Pro.
What do you think? Is this a good Idea? And how could I implement this?
I thought about pfsense on the s920, but how can I make the UDM think that traffic is coming from the “public ip” of the VPS?
Any thoughts on this?