1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Poor VPN speed OPENVPN

Discussion in 'Tomato Firmware' started by paulies, Jun 5, 2012.

  1. paulies

    paulies Serious Server Member

    Hi,

    I was recommed his router RT-N16 but when connectiing to VPN I lose a 3rd of the speed :( I am on 30mb connections and only get 10. When conencted to the PC the speed is perfect the tech blame the router CPU but when I check it when its connected to the pc and through openvpn the cpu is hardly registering its ticking over nicely.

    Does anyone know of a way to get full speed through the asus while connect to my vpm through openvpn ?

    Thanks Paul
     
  2. maurer

    maurer LI Guru Member

    did your RT-N16 acts as openvpn client or your pc is the openvpn client?
     
  3. paulies

    paulies Serious Server Member

    Hi,

    The router acts as the openvpn client.
     
  4. maurer

    maurer LI Guru Member

    then you cannot go more than 10mbps with RT-N16 as openvpn client. as the tech support said - slow router CPU is to blame (MIPS).
    if you want to go close to 30 mbps you have to buy a more powerfull Atheros based device like DIR-825 or WNDR3700 v1/v2 or WNDR3800 and flash it with openwrt.
     
  5. rs232

    rs232 Network Guru Member

    I read somewhere that certificates use 15 times more processing than static keys. I'm not sure whether this is true or not but you can try....
     
  6. apnar

    apnar Network Guru Member

    maurer, do you have any actual VPN speeds on those devices? Or maybe the output of "openssl speed"? I'm always looking for faster consumer VPN routers.
     
  7. maurer

    maurer LI Guru Member

  8. apnar

    apnar Network Guru Member

    Thanks maurer. I've actually seen the page before. They unfortunately don't include blowfish, which is currently what I'm using in my VPNs. Anyway, as a point of comparison here is the results for a e3000 which I normally see 10-12 mbps over the VPN using their command:

    Code:
    | 1.0.0d |  26928110 |  8702290 |  5612820 |  3496080 |  4702870 |  1695670 |  7321600 |  6416840 |  5762140 |  4.2 |  144.8 |  14.5 |  11.8 |
    
    Looking at AES-128, which is what I'd likely use if I switched off blowfish I'm getting 7321600. Besides the Seagate DockStars the fastest on the list is the DIR-825 with a value of 8915670 which is only around a 21% increase. So I wouldn't expect to see 30 mbps out of them, have you actually seen speeds that fast in real world VPNs on consumer routers?
     
  9. maurer

    maurer LI Guru Member

    ok, i admit, maybe my advice was somehow incorrect. consumer routers cannot do 30mbps openvpn with high encryption mechanisms
    but my initial advice comes from: http://wiki.openwrt.org/doc/howto/vpn.ipsec.basics
    but as you see in your e3000 results above md5 encryption can boost speed up to 27mbps.
    i think user Paul (paulies) should explore other encryption types like md5 or even PPTP - even if it's less secure.
    It's his decision - speed over security over dedicated VPN hardware (extra $)
     

Share This Page