{"repo":"ntnj/tunwg","free":true,"listed":false,"github":"https://github.com/ntnj/tunwg","clone":"git clone https://github.com/ntnj/tunwg.git","description":"Secure private tunnel to your local servers","language":"Go","stars":286,"topics":["tunnel","wireguard","wireguard-tunnel","self-hosted","ngrok-alternative"],"license":"MIT","category":"networking-infra","readme_excerpt":"Tunwg End to end encrypted secure tunnel to local servers Use To expose port 8080: or You can run tunwg in docker too: --network=host is needed to access the port 8080 on host. Install You can download a pre-compiled binary from Github releases for Windows, Linux and Mac (Arm/Intel) To install from source: Privacy Tunwg provides end to end SSL encryption and forwards TCP stream to the tunwg instance running on your local machine. The local instance running on your machine is responsible for generating an HTTPS certificate for you and forwards the decrypted traffic to your local server. This means that your traffic is completely private to you. You can also self-host your own server. Features Custom domains To use your own domain name instead of a subdomain on tunwg.com, add a CNAME record in your DNS provider to the encoded domain on tunwg.com e.g. for test.example.com , add a CNAME entry for test to xxxxxxxx.l.tunwg.com Use directly in Go programs If you're writing your HTTP server in golang, you can use tunwg directly without running a separate binary. Persistent URLs Since the generated subdomain is derived from your wireguard key and the forwarded address, it'll remain constant across process restarts. The wireguard key is stored in .config/tunwg/ (os.UserConfigDir/tunwg) or /data/ in docker. It can be customized with TUNWG PATH environment variable. Automatic SSL certificates Automatic SSL certificate are issued through LetsEncrypt and automatically renewed. Fallback to ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ntnj","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ntnj/tunwg/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}