How to set up OpenVPN server via AstroRelay?¶
Scenario: If you want to set up OpenVPN 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 OpenVPN server even if you don't have a public IP address. Please enable Allow Access Local Network.
Then export an OpenVPN 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 1194 into the Destination Port box.
Then you will get a link, such as testforx3000.arlab1.cc:37202. Click on it to copy the link.
-
Open the OpenVPN configuration, replace the data after Remote with the link you got in previous step. In the example below, we replace the "42.200.00.00 1194" with the link "testforx3000.arlab1.cc:37202".
Then replace the colon ":" with a space, e.g. "testforx3000.arlab1.cc 37202".
Then you will be able to use the modified config file in OpenVPN client app.
-
When you are not at home/office, you can upload the modified config file into the OpenVPN 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.