arrow_back
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 0.0.0.0.
$ curl https://tunnel.pyjam.as/8080 > 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 http://0.0.0.0:8080 on the unique URL provided: https://<unique_slug>.tunnel.pyjam.as/ ✨
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