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 ver. 1.27vpn3.6
Once you received files we are ready to go.
1) Login to router and set DNS servers under Basic -> Network
220.127.116.11 and 18.104.22.168 are StrongVPN DNS servers
!!! if you have New York server you should use this DNS 22.214.171.124 and 126.96.36.199
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
data from your ta.key file
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
-----BEGIN OpenVPN Static key V1-----21a0726b99851f2475aef37ba693413c54f814cb2aaabe3d054b1ed5bc2fc35e8bbe7bc131ab3136a4339a045c2b4e31ca64cb2ba8384d7c62635c2b2f7d56ef7d116570934184fcc678eb3126c529bd98365c13e986e783922804aaf1cf897d5eff3f516cf74625f005a2147236869363787f4e9b190905afeb457dda627d4fc643dbad081291bf20459743b5765d559c33dc7f98ae16c1ec3f19b39db0ab83551cc1c996c8bb1c909c9cf944558628f17c7c62a59c4501d4a94987e2bae823c72f6ceb23c8ec535f5f40a4e6cc2eb2229ad85ee9fca70ae07344229fa55657b10c8e6ccbccdf8048a6a243024fef0a28ab2ca314df5ac970c61065d8aef5ad-----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
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)
Find any errors or question? go ahead and start comment