This tutorial will guide you through setting up TorGuard VPN Service on a Tomato Router.
To begin, we assume your router has already been flashed with the latest version of tomato firmware. To Purchase a pre-flashed router already setup with your VPN account please visit the TorGuard store.
Access your tomato router at the default IP: http://192.168.1.1/
Next, proceed to Administration > Scripts and enter the following commands:
echo USERNAME > /tmp/userpass.conf
echo PASSWORD >> /tmp/userpass.conf
chmod 600 /tmp/userpass.conf
Now login to your client area and look under My Servers and choose a server hostname you would like to connect to.
Proceed to VPN Tunneling > Client > Basic
Enter the following information:
Start with WAN: Check
Interface Type: TUN
Protocol: Choose TCP or UDP (Depending on ovpn, for this example UDP)
Server IP address/Port: Enter the hostname of your choice from under My Servers.
Port: For UDP enter 443 and for TCP 443
Authentication mode: TLS
Extra HMAC Authorisation: Disabled
Create NAT on tunnel: check
Next, proceed to VPN Tunneling > Client > Advanced
Use the following settings:
Poll interval: 0
Redirect traffic: Uncheck
Accept DNS configuration: Strict
Encryption cipher: Use Default
TSL Regeneration Time: -1
Connection retry: 30 (or you may set -1 for infinite)
In Custom Configuration please paste the following:
Next, please proceed to VPN Tunneling > Client > Keys
In Certificate Authority, paste the contents of TG CA Certificate located here - paste ALL contents into the certificate authority box.
Congrats, your Tomato router is configured for OpenVPN with TorGuard.
You can now proceed to VPN Tunneling > Client > Status
Simply press the “Start Now” button to connect.
To Disconnect, press the “Stop Now” button as seen below: