Skip to main content
OpenWRT Router OpenVPN Setup

Configure your OpenWRT router with a MobileHop OpenVPN profile

Whit avatar
Written by Whit
Updated this week

This guide is intended to demonstrate a known method by which an OpenWRT router can be used with MobileHop proxies. However, individual router configurations involve more complex technical skill than client device setup, and further configuration of routers is beyond the scope of MobileHop support. Therefore, assistance with OpenWRT router configuration will be limited to the content of this guide.


1. Connect a client device to your OpenWRT router's local network. Ensure WAN access is already set up and working, and that OpenWRT is updated as needed.

2. From your proxy portal, download the OpenVPN Profile (UDP Default) and extract the .zip file.

  • If you experience issues, try the OpenVPN Profile (UDP Alternate) instead.

3. Go to the OpenWRT web UI, and at the top select System > Software. Select Update lists... and then filter for openvpn. Scroll down and install the openvpn-openssl package, then the luci-app-openvpn package.

4. Refresh the page, and you should see the VPN tab at the top. Select VPN > OpenVPN, and under the OVPN configuration file upload header, select Browse. Navigate to the extracted .zip folder and select the included .ovpn profile. Name the profile something simple, such as MobileHop, and select Upload. You should then see the VPN instance populate.

5. Next to the MobileHop VPN instance, select the Edit button. Scroll down, and from your extracted .zip folder, open the included login_credentials.conf file in a text editor. Copy the credentials into the bottom text field on the VPN edit page. Highlight the /etc/openvpn/vpnname.auth filepath in parentheses, and copy it to your clipboard. Then in the main text field, overwrite login_credentials.conf with the filepath. At the bottom, select Save.

Now go back to VPN > OpenVPN and check the box under Enabled. At the bottom, click Save & Apply. Your VPN instance should start automatically.

6. Now, in the top bar, select Network > Firewall. Scroll down to the bottom, and under Zones, look for the wan zone and select Edit. Click the Advanced Settings tab, and under the Covered devices dropdown menu, select the tun0 entry. Click Save at the bottom, and on the main page select Save & Apply.

This configuration will route all client devices' internet traffic through your MobileHop proxy via VPN.


​


Disclaimer: MobileHop is not affiliated with OpenWRT. This guide is for informational purposes only.

Did this answer your question?