Creating a Local Tunnel with WireGuard

1. Install WireGuard Tools
brew install wireguard-tools
2. Start a Tunnel for Your Local Service

Make sure to bind your local service to

$ curl > tunnel.conf && wg-quick up ./tunnel.conf

Replace "8080" with the port of the service you want to tunnel.

You can now access your local service at on the unique URL provided: https://<unique_slug> ✨

3. Stop the Tunnel
wg-quick down ./tunnel.conf
By following these steps, you can create a local tunnel using WireGuard, allowing you to securely access your local service through a unique URL.

Published @ Jul 2023