Solving the "no internet" after succesfull connect to HideMyAss Openvpn client

1 post / 0 new
Mikkel Kruse
Mikkel Kruse's picture
Solving the "no internet" after succesfull connect to HideMyAss Openvpn client

Hi

If you just want to se my how-to or get the files without reading the background then press here, else read on.. If you decide to use the files, with or without back-ground info, you do it on you own risk! No responsibility accepted from me!

link

(link is provided in the text also)

I have been using the WNR3500Lv2 for about 2 months now... and not until today i have made a succesfull connection using the Openvpn clients provided in the web gui on some tomato firmwares. L2PT and PPTP works, but i want OpenVPN for best speed and security. (And also because it is supposed to work!)

I now use Tomato Firmware v1.28.0499 MIPSR2Toastman-VLAN-RT-N K26 USB VPN
I have tried everything i could think of and have spend countless hours with everything from building different cross compiling machines, virtual and real life, and with more or less success compiled a ton of useless DD-WRT and Tomato .bin and .trx files and also tweaking and changing unbricking and so on..

(Sadly not a single success in making a .chk output file,  witch might have actually worked but then again, neither did the ready made compiled versions available.. same isue, no solutions)

I am fairly new to linux routers, and learn by doing  along the way... I am quite an experienced PC user but that dont help much here..

I have bricked the router so many times now that i have a permanent usb-serial setup to the router from my working PC at all times to save time...

(now i also mainly use this for everything else in normal daily tasks, working with the router.. bad habbit maybe?) 

DD-WRT has never worked for me on this router at all... nothing available on the provided sample in this forums "build-kit" that i could use, as it lacks all VPN client functions, and even can not save the settings in the gui... compiling DD-WRT was no better for me... I lack the capacity of understanding the guides online on how to setup the compiling environment for anything else than tomato.. so tomato it is..

In all versions of tomato I have at some point made a succesfull VPN connection to the HMA servers... mostly just the L2PT, and only if set in the "basic" section of GUI.

Also the PPTP client worked later on, but only if set in the client tab of gui, not the "basic" settings as the MPPE encryption required is an issue there.

This was a success and allowed me to stream and what not... using only L2TP and PPTP though is not giving me the speeds i need for HD streaming while doing other stuff online...

So even though everything kinda worked and i could get the connection to stream, it was not optimal and I kept on trying and trying.

 
Then at some point i finally got a breakthru.. the Openvpn gui connected succesfully... it was different settings done wrong in the gui, but mainly the "custom configuration" field that i had misused.. Now i could connect to the HMA server with the Openvpn client, but still nomatter what there was no internet after connecting... 

I could, from the router, ping the servers and my own vpn IP, and sometimes also google.com and other internet sites.. but still i could not connect in my browser even though stuf like utorrent seemed to be online at the same time from same PC with no problem. From the PC i could not ping anything but the router.

Finaly, today i got the shit to work(!!) and connect now flawlessly with the OpenVPN client to the HMA server from my WNR3500Lv2 with tomato running.

(writing this from the Openvpn connection)

WOOHOOOO!!!!111!!!1!! VICTORY ;)

 

I spoke to the HMA support early in the process regarding the connection issue, and they could not help, so today when i succeeded i made a small how-to, and send to the HMA-support for info. Also i would like to share it on this forum as i have spend so many hours sucking knowlegde from members in here in the process up to now.

Maybe this solution is very specific to my hardware setup .. I dont know... but i would assume it works in general. See the last bit of the howto to see my setup explained if you want to see compared to what you have.

Here is a link to  3 files

1. the how-to (HOW-TO_setup_HMA_OpenVPN-client_on_Tomato-flahed_WNR3500Lv2.rtf)

2. a copy of the tomato system log showing succelsful connetion with openvpn (OpenVPN_connetion-log.txt)

3. a text file in cut/paste "nvram set" format with the NVRAM settings for quick setup of Openvpn client2 if you are lazy... (NVRAM_CUT&PASTE_OPENVPN_CONFIG.txt)

use with care and on your own risk!!

(REMEMBER TO CHANGE SERVER IP IN THE NVRAM SETTINGS TEXT FILE TO SUIT YOUR NEEDS)

link 

Below is the email i sent to the support at HMA.

"Hi againThank you very much for the reply...I am quite stubborn when it comes to getting my equipment to work the way i want them to... It is not good enough that it "just" works... it has to work the right way... So..I continued to screw arround with the flashing and compiling and of course the settings of the chosen firmwares, and today, after about a zillion tries for combining/compiling/bricking/breaking/hacking/wacking on any type of  Tomato firmware available to my router.. VOILA - it works...
All time spend on previous attempts could have been avoided, had i just known how simple it is... when you know how...In order for OpenVPN to work correctly on the newest Tomato snapshot - Toastrman build 99 (Tomato Firmware v1.28.0499 MIPSR2Toastman-VLAN-RT-N K26 USB VPN) you have to combine the custom settings and tweaks in the web-gui in just the right way.I have of course saved (in several copies) backups of the current working settings (nvram dumps/exports/cfg-files) just to be sure i do not loose this for any reason...I know there´s a ton of peoble like me, having the same issue with no internet connection after connect to server. It accours in setups with tomato using OpenVPN to connect. There are no places really to get a clear answer how to solve this issue due to different providers and routers and no one have the exact knowlegde on many routers.., some places i read suggestions from "expoerts" that it is to due with some errors in the coding of the finnished compiled firmware versions available online, and all guides lead to same results... no connection..Therefor i have prepared a little home-made "HOW-TO" and attached to this mail. Also attached is a copy in text form of  my working openvpn settings in (in copy/paste "nvram set" format) and an output from the log showing succesfull connetion and routing on TAP/TUN.Feel free to use this info and attached files however you may like to help others if needed in any way.Best regards"