A quick and simple yet quite efficient method of port forwarding via a WireGuard reverse VPN.
Intended use case : Forwarding ports simply from a network behind a CGNAT to a public IP.
- (Virtual-)Machine on the local network
- Publicly accessible server (for example, the AWS free tier VPS)
- For its lightweight and simple handling, I chose Alpine Linux for the local proxy.
- Due to availability, I chose Ubuntu for the server.
- Tunneling the ports is done through WireGuard.
- Forwarding the ports is done via socat.
- Check out the Install Guide for a step-by-step guide on how to set this up.
- If you, by any chance, want to use this to make a WireGuard endpoint on your local network accessible to the outside, you might want to check out the Sample Setup.
- If you're facing issues while installing, you might want to look at the Troubleshooting Section.
- Should you still run into issues, feel free to open a new Issue.