Total Pageviews

Sunday, 22 October 2017

OpenVPN on Tomato based router

Hi all. I get OpenVPN by StrongVPN to work on Tomato based Linksys WRT54GL and create this tutorial for you.

Tested on TomatoVPN:(http://tomatovpn.keithmoyer.com/ ) ver. 1.27vpn3.6

Once you received files we are ready to go.

1) Login to router and set DNS servers under Basic -> Network

216.131.94.5 and 216.131.95.20 are StrongVPN DNS servers

!!! if you have New York server you should use this DNS 98.158.112.60 and 216.131.94.5



2) You set correct Time and Date under Basic -> Times

!! Its very important, other way OpenVPN will unable connect!!

recommend set UTC-08 Pacific Time due to most of servers use this time zone

3) Open your configuration files folder from greeting email. Find ovpnXXX.ovpn file and open by editor.

4) go to VPN Tunnelling -> Client

with Tomato you can have 2 configured clients. I start from Client 1

under Protocol set UDP (as in configuration file, if you have TCP you should choose it from list)

under Server Address/Port add Server and Port using configuration file as in example

5) Fill Keys tab with ca.crt, ovpnXXX.crt and ovpnXXX.key. See example

6) under Advanced tab ser Compression to Disabled

7) Set Connection retry to -1

8 ) under Custom Configuration we need input this

tls-auth ta.key 1

<tls-auth>

data from your ta.key file

</tls-auth>

fragment  1300
mssfix 1450
tun-mtu 1500

You can open ta.key file using editor and copy all lines. For this example it was like:

tls-auth ta.key 1

<tls-auth>

—–BEGIN OpenVPN Static key V1—–
21a0726b99851f2475aef37ba693413c
54f814cb2aaabe3d054b1ed5bc2fc35e
8bbe7bc131ab3136a4339a045c2b4e31
ca64cb2ba8384d7c62635c2b2f7d56ef
7d116570934184fcc678eb3126c529bd
98365c13e986e783922804aaf1cf897d
5eff3f516cf74625f005a21472368693
63787f4e9b190905afeb457dda627d4f
c643dbad081291bf20459743b5765d55
9c33dc7f98ae16c1ec3f19b39db0ab83
551cc1c996c8bb1c909c9cf944558628
f17c7c62a59c4501d4a94987e2bae823
c72f6ceb23c8ec535f5f40a4e6cc2eb2
229ad85ee9fca70ae07344229fa55657
b10c8e6ccbccdf8048a6a243024fef0a
28ab2ca314df5ac970c61065d8aef5ad
—–END OpenVPN Static key V1—
</tls-auth>
fragment 1300 mssfix 1450 tun-mtu 1500

9) Click Save to save all

10) Click Start Now to initiate connection

We are done !

12)  Once connected you can check how its going under Status tab

One trick if you need auto start OpenVPN

Check option Start with WAN under VPN tunnelling -> Client and Basic tab

Troubleshooting

Go to Stauts -> Logs and click View All

You will have output with a lot of lines. Copy all of them and send to support person.

You can contact StrongVPN support at http://strongvpn.com/contacts.shtml

You can also use trace option under Tools -> Trace. Input any hostname(like google.com) and click Trace

Copy output and attach to previous results. Send all this to support person or paste in comments(I will check)

No comments:

Post a Comment