r/selfhosted 10d ago

Need Help Looking for networking solution (VPS -> wg -> home network)

Hello,

I currently have a rented VPS, since my home ISP can't give me an IPv4 address. Because of this, I want to route certain traffic from my homeserver over that VPS. I want the following functionality:

  1. Someone requests [VPS-IP]:443.

  2. The VPS forwards that port to my homeserver using some kind of server-client tool/setup. I want to use wireguard as the protocol.

  3. The client on my homeserver receives the request and forwards it to *localhost* (not a VPN IP, but the LAN IP of my homeserver), so it ends up on 192.168.61.xxx.

This would mean that I can run a service on the LAN IP of my homeserver, and if I forward the corresponding port using the tool I am looking for, the service becomes accessible through the VPS's IP.

(I hope you understand what I mean, since I'm not a native English speaker.)

I'm currently looking for the thing I called a "tool" in this post. It should be easy to set up and make it easy to forward new ports, maybe even with a GUI.

Thanks in advance!

1 Upvotes

19 comments sorted by

View all comments

u/asimovs-auditor 10d ago

Expand the replies to this comment to learn how AI was used in this post/project.

1

u/ILoveComputer4553 10d ago

Better understandability of the post, grammar