Skip to content

A quick and simple yet quite efficient method of port forwarding via a WireGuard reverse VPN.

Notifications You must be signed in to change notification settings

klydra/wiretunnel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wiretunnel

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.

Setup

  • (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.

Install

  • Check out the Install Guide for a step-by-step guide on how to set this up.

Sample

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

Troubleshooting

About

A quick and simple yet quite efficient method of port forwarding via a WireGuard reverse VPN.

Topics

Resources

Stars

Watchers

Forks

Languages