Slow OpenVPN speed on Wireless only

Discussion in 'Tomato Firmware' started by Jose C, Jun 5, 2019.

  1. Jose C

    Jose C Serious Server Member

    Network: cable modem-R7000>R7000

    both R7000 are running latest freshtomato as of today.
    Both routers were flashed after clearing nvram.

    both routers are using the same ssid and key, channels are different, roaming works fine.

    since a few months ago, I started to use a vpn service, it is configured in the client of the r7000 connected to the cable-modem.

    Lately I have noticed (it probably happened since the begging but I never noticed) that whenever I'm connected to the wireless ssid of the first router (where the WAN connection and where the openvpn client is running) the speed is limited to about 12-15mbps.

    If I move around the house so I connect to the wireless signal of the second router I get my full connection speed.

    If I connect with an Ethernet cable to any of the two routers I get full speed.

    If I stop the openvpn client in the main router, connect with the phone to it's wireless signal and make the openvpn connection in the phone itself (in an iphone) I get full speed.

    in the logs I cant see any relevant to this, the only thing I see that was "out of normal" are these lines from the openvpn client.

    Any idea what could be causing the issue?
  2. RMerlin

    RMerlin Network Guru Member

    Try adding this to client custom config:

    txqueuelen 1000
  3. Jose C

    Jose C Serious Server Member

    just did some test but it did not make any difference.
  4. eibgrad

    eibgrad Network Guru Member

    You indicated what you consider low speed (12-15Mbps), but never indicated what you mean by "full speed". Please be specific.

    Also, how are the two R7000s connected? By wire? If so, WAN to LAN, or LAN to LAN? Wireless (as in a wireless ethernet bridge)?
  5. Jose C

    Jose C Serious Server Member

    sorry I missed that.

    Full speed is 50mbps

    routers are connected by wire, LAN-LAN. main router is the dhcp server, the second wan just serves as an AP
  6. eibgrad

    eibgrad Network Guru Member

    Does seem strange. Does it happen regardless of which radio (2.4GHz or 5GHz) on the primary router?

    Any chance you're using the USB 3.0 port and the 2.4GHz radio? Because those two are known to create interference in some cases. Although I would have assumed by now manufacturers had improved shielding to prevent this problem (or at least minimize it).

    Maybe the particular location of the primary router is having more issues w/ interference generally than where the secondary router is located. It's not unusual for small differences in location or even orientation to make a significant difference in performance.

    Although it would be a hassle, I suppose you could swap the routers and see if that makes a difference, perhaps indicating a problem w/ that particular router.
  7. eibgrad

    eibgrad Network Guru Member

  8. RMerlin

    RMerlin Network Guru Member

    If you control both endpoints, make the change on both the client and the server.
  9. Jose C

    Jose C Serious Server Member

    nothing on both usb ports in this router.

    with the location of this router, the thing is that if I stop the vpn client the wireless speed goes again to 50mbps (12-15mbps while vpn client is on).

    I had another R7000 I was not using and set it up exactly as the same where the problem is present (manually, did not load a backup), and it is happening the exact same thing. Also, try with a long ethernet cable to set it up it a different location, same behavior.
  10. Jose C

    Jose C Serious Server Member

    I just control the client, I'm actually using a vpn service
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice