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 provides a secure reverse proxy tunnel, through which you can securely access resources behind NAT and firewalls.
-
Follow the guide here to set up WireGuard server even if you don't have a public IP address. Please enable Allow Access Local Network.
Then export a WireGuard configuration. The image below is an example.
-
Sign up an AstroRelay account and follow this tutorial to complete first-time setup.
When adding a new domain, please choose the server closest to your router.
When adding a new link, input your router's LAN IP address into the Destination Host IP box. Input 51820 into the Destination Port box.
Then you will get a link, such as wg_server_test.arlab1.cc:33331. Click on it to copy the link.
-
Open the WireGuard configuration, replace the data after Endpoint with the link you got in previous step. Then you will be able to use the modified config in WireGuard client app.
-
When you are not at home/office, you can upload the modified config file into the WireGuard client app to access your home/office local service as you are at home/office.
Still have questions? Visit our Community Forum or Contact us.