VPN Policies¶
Starting from firmware version 3.022, users can define VPN routing policies. For example, it is possible to use VPN for a specific website/IP while maintaining a normal Internet traffic without VPN for others.
Settings¶
Enable VPN Policy: Turn on/off VPN policies.
Use VPN for guest network: Turn on/off use VPN for guest network.
Use VPN for all process on the router: Generally, the traffic of all processes running on the router such as GoodCloud / DDNS will be routed through VPN if there is a connected VPN client (e.g. WireGuard, OpenVPN). In this case, these processes will lose Internet if VPN connection is not stable. In order to ensure a proper operation of these processes, you can disable this option. As a result, they will not use VPN.
Please Choose Policy: The item can be either Domain/IP (e.g. gl-inet.com / 192.168.1.1 / 192.168.1.0/24) or Mac address (24:F0:94:5C:8E:F9).
Add VPN policy¶
You can only configure either Only allow the following use VPN or Do not use VPN for the following. Click the dropbox to switch among Only allow the following use VPN and Do not use VPN for the following. To add a policy, enter the domain/IP or Mac address into the box and then click Add
. Finally, click Apply
to activate the policy.
For example, if we want to route only the traffic of netflix.com
through VPN, we need to choose Policy Domain/IP, choose Rule Only allow the following use VPN, input netflix.com and click Apply
.
However, if we want to route all traffic through VPN except netflix.com
, we need to choose Policy Domain/IP, choose Rule Do not use VPN for the following, input netflix.com and click Apply
.
Clear DNS cache¶
If you are using domain-based policy, it may not work unless you clear your DNS cache. Please follow the instructions below to clear your DNS cache.
Windows: Press Win + R and run cmd. Execute command ipconfig /flushdns
.
MacOS: Open Terminal and execute command sudo killall -HUP mDNSResponder
.
Ubuntu: Open Terminal and execute command sudo service network-manager restart
.
You may also need to clear DNS cache in your browser.
Chrome: Visit chrome://net-internals/#dns. Click Clear host cache
.
Firefox: Open Firefox and press Ctrl
+ Shift
+ Delete
. Select Time range to Everything and check only Cache. Finally, click Clear Now
.