How to set up WireGuard server via AstroRelay?¶
Scenario: If you want to set up WireGuard server in GL.iNet router at home/office to remote access your local service, but your ISP doesn't provide a public IP address.
AstroRelay can provide a secure reverse proxy tunnel, which you can access your resources behind NAT and firewall.
-
Follow the guide here to set up WireGuard server and ignoring that your don't have a public IP address. Please enalbe Allow Access Local Network.
Then create a WireGuard configuration. Below image is an example.
-
Please sign up an AstroRelay account and Follow the tutorial.
When add a new domain, please choose the server closest to your router.
When add a new link, the Destination Host IP is your router's IP address, default is 192.168.8.1.
You can get a link finally, like wg_server_test.arlab1.cc:33331.
-
Replace this link with the Endpoint in the WireGuard configuration. Then you can use the modified config in WireGuard client app.
-
When you are not at home/office, you can use the WireGuard client app with the configuration created above to access your home/office local service as you at home/office.