matomo

Guide to install OpenVPN for Tomato

1. Disable IPv6

In order to connect to OVPN - you will first need to disable IPv6.

2. Change DNS server

Go to the router GUI, and click on Basic » Network. Enter the following DNS servers in the fields for Static DNS.

  • Static DNS 1: 46.227.67.134
  • Static DNS 2: 192.165.9.158

Click Save.

3. Choose server

4. Configure OpenVPN

Go to VPN Tunneling » Client. Then choose Client 1 » Basic.

Start with WAN Checked
Interface Type TUN
Protocol
Server Address
Port
Firewall Automatic
Authorization mode TLS
Username/Password Authentication Checked
Username (enter your username for OVPN)
Password (enter your password for OVPN)
Extra HMAC authorization (tls-auth) Outgoing (1)
Create NAT on tunnel Checked


Now go to Client 1 » Advanced.


Poll Interval 0
Redirect internet traffic Checked
Accept DNS configuration Exclusive
Encryption cipher AES-256-CBC
Compression Enabled
TLS Renegotiation Time -1
Connection retry 30
Verify server certificate (tls-remote) Checked
Custom Configuration remote-cert-tls server
pull
reneg-sec 432000
resolv-retry infinite


Then go to Client 1 » Keys.


Static Key -----BEGIN OpenVPN Static key V1-----
81782767e4d59c4464cc5d1896f1cf60
15017d53ac62e2e3b94b889e00b2c69d
dc01944fe1c6d895b4d80540502eb719
10b8d785c9efa9e3182343532adffe1c
fbb7bb6eae39c502da2748edf0fb89b8
a20b0a1085cc1f06135037881bc0c4ad
8f2c0f4f72d2ab466fb54af3d8264c5f
ddeb0f21aa0ca41863678f5fc4c44de4
ca0926b36dfddc42c6f2fabd1694bdc8
215b2d223b9c21dc6734c2c778093187
afb8c33403b228b9af68b540c284f6d1
83bcc88bd41d47bd717996e499ce1cbb
fa768a9723c19c58314c4d19cfed82e5
43ee92e73d38ad26d4fbec231c0f9f3b
30773a5c87792e9bc7c34e8d7611002e
bedd044e48a0f1f96527bfdcc940aa09
-----END OpenVPN Static key V1-----
Certificate Authority -----BEGIN CERTIFICATE-----
MIIEfTCCA2WgAwIBAgIJAK2aIWqpLj1/MA0GCSqGSIb3DQEBBQUAMIGFMQswCQYD
VQQGEwJTRTESMBAGA1UECBMJU3R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ZohaqkuPX8w
DAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAJmID6OyBJbV7ayPPgquo
jF+FICuDdOfGVKP828cyISxcbVA04VpD0QLYVb0k9pFUx0NbgX2SvRTiFhP7LcyS
1HV9s+XLCb2WItPPsrdRTwtqU2n3TlCEzWA3WOcOCtT6JSkv1eelmx1JnP0gYJrD
vDvRYBFctwWhtE0bineSQkZwN6980zkknADLAiHpeZSu/AMx7CGTwA6SmoFvpNBm
HXDcfe/9ZqbbYfUfyPNe+0JbMrcv1elKi+6wlEkHFaEBphiZwGEbOX1CjUMcQFgW
/cIp3n50Eiyx6ktuqimhyb59P4Nw8gqH452tTtE4MM/brA5y0Q0WFBRBojfZIbGW
WQ==
-----END CERTIFICATE-----

Scroll down and click Save. Then click Start now.

4. Finished

You should now be connected to OVPN and be able to browse the internet safely. To make sure everything was set up correctly, please check the dashboard to verify that you are connected.