OpenVPN - Performance issues - Different bandwith on different client systems but same server - Windows &...











up vote
0
down vote

favorite












i am experiencing different bandwith and different pings when connecting from my home to the vpn servers of my vpn service provider in asia. So client and host location stays the same. Only OS and machines (vm or native) vary.



The differences vary from the OS / machine i am using. What could cause this? What should i adjust / compare?





When using Windows 7 x64 with OpenVPN v11.10.0 i have the following bandwith regarding to speedtest.net




  • Ping: 275ms

  • Download: 25.39 Mbps

  • Upload: 9.51 Mbps


And without active vpn:




  • Ping: 6ms

  • Download: 69.84 Mbps

  • Upload: 25.33 Mbps




When running my virtual machine inside that Windows 7 machine using Lubuntu 16.04, Kernel 4.4.0-139-generic, OpenVPN 2.4.6 (before i had version 2.3.10 but that didn`t make any difference)




  • Ping: 276ms

  • Download: 3.62 Mbps

  • Upload: 4.68 Mbps


Without active vpn:




  • Ping: 10ms

  • Download: 69.51 Mbps

  • Upload: 20.24 Mbps




When using my Lubuntu native machine ( that i mainly use as homeserver), with Lubuntu 16.04, Kernel 4.4.0-139-generic and OpenVPN 2.3.10




  • Ping: 393ms

  • Download: 16.43 Mbps

  • Upload: 6.14 Mbps


Wihout active vpn:




  • Ping: 10 ms

  • Download: 69.03 Mbps

  • Upload: 24.68 Mbps




Below is the *.ovpn config that i use for my Windows machine.




client
dev tun
proto udp
remote IP 1198
resolv-retry infinite
nobind
persist-key
persist-tun
cipher aes-128-cbc
auth sha1
tls-client
remote-cert-tls server

auth-user-pass
compress
verb 3
reneg-sec 0

-----BEGIN X509 CRL-----

-----END X509 CRL-----



-----BEGIN CERTIFICATE-----

-----END CERTIFICATE-----


disable-occ


Below is the *.ovpn config that i use for my Linux machines.




client
dev tun
proto udp
remote IP 1198
resolv-retry infinite
nobind
persist-key
persist-tun
cipher aes-128-cbc
auth sha1
tls-client
remote-cert-tls server

comp-lzo no
verb 3
reneg-sec 0
crl-verify crl.rsa.2048.pem
ca ca.rsa.2048.crt

disable-occ

auth-user-pass ../passfile
auth-nocache

setenv opt block-outside-dns

script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf










share|improve this question


























    up vote
    0
    down vote

    favorite












    i am experiencing different bandwith and different pings when connecting from my home to the vpn servers of my vpn service provider in asia. So client and host location stays the same. Only OS and machines (vm or native) vary.



    The differences vary from the OS / machine i am using. What could cause this? What should i adjust / compare?





    When using Windows 7 x64 with OpenVPN v11.10.0 i have the following bandwith regarding to speedtest.net




    • Ping: 275ms

    • Download: 25.39 Mbps

    • Upload: 9.51 Mbps


    And without active vpn:




    • Ping: 6ms

    • Download: 69.84 Mbps

    • Upload: 25.33 Mbps




    When running my virtual machine inside that Windows 7 machine using Lubuntu 16.04, Kernel 4.4.0-139-generic, OpenVPN 2.4.6 (before i had version 2.3.10 but that didn`t make any difference)




    • Ping: 276ms

    • Download: 3.62 Mbps

    • Upload: 4.68 Mbps


    Without active vpn:




    • Ping: 10ms

    • Download: 69.51 Mbps

    • Upload: 20.24 Mbps




    When using my Lubuntu native machine ( that i mainly use as homeserver), with Lubuntu 16.04, Kernel 4.4.0-139-generic and OpenVPN 2.3.10




    • Ping: 393ms

    • Download: 16.43 Mbps

    • Upload: 6.14 Mbps


    Wihout active vpn:




    • Ping: 10 ms

    • Download: 69.03 Mbps

    • Upload: 24.68 Mbps




    Below is the *.ovpn config that i use for my Windows machine.




    client
    dev tun
    proto udp
    remote IP 1198
    resolv-retry infinite
    nobind
    persist-key
    persist-tun
    cipher aes-128-cbc
    auth sha1
    tls-client
    remote-cert-tls server

    auth-user-pass
    compress
    verb 3
    reneg-sec 0

    -----BEGIN X509 CRL-----

    -----END X509 CRL-----



    -----BEGIN CERTIFICATE-----

    -----END CERTIFICATE-----


    disable-occ


    Below is the *.ovpn config that i use for my Linux machines.




    client
    dev tun
    proto udp
    remote IP 1198
    resolv-retry infinite
    nobind
    persist-key
    persist-tun
    cipher aes-128-cbc
    auth sha1
    tls-client
    remote-cert-tls server

    comp-lzo no
    verb 3
    reneg-sec 0
    crl-verify crl.rsa.2048.pem
    ca ca.rsa.2048.crt

    disable-occ

    auth-user-pass ../passfile
    auth-nocache

    setenv opt block-outside-dns

    script-security 2
    up /etc/openvpn/update-resolv-conf
    down /etc/openvpn/update-resolv-conf










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      i am experiencing different bandwith and different pings when connecting from my home to the vpn servers of my vpn service provider in asia. So client and host location stays the same. Only OS and machines (vm or native) vary.



      The differences vary from the OS / machine i am using. What could cause this? What should i adjust / compare?





      When using Windows 7 x64 with OpenVPN v11.10.0 i have the following bandwith regarding to speedtest.net




      • Ping: 275ms

      • Download: 25.39 Mbps

      • Upload: 9.51 Mbps


      And without active vpn:




      • Ping: 6ms

      • Download: 69.84 Mbps

      • Upload: 25.33 Mbps




      When running my virtual machine inside that Windows 7 machine using Lubuntu 16.04, Kernel 4.4.0-139-generic, OpenVPN 2.4.6 (before i had version 2.3.10 but that didn`t make any difference)




      • Ping: 276ms

      • Download: 3.62 Mbps

      • Upload: 4.68 Mbps


      Without active vpn:




      • Ping: 10ms

      • Download: 69.51 Mbps

      • Upload: 20.24 Mbps




      When using my Lubuntu native machine ( that i mainly use as homeserver), with Lubuntu 16.04, Kernel 4.4.0-139-generic and OpenVPN 2.3.10




      • Ping: 393ms

      • Download: 16.43 Mbps

      • Upload: 6.14 Mbps


      Wihout active vpn:




      • Ping: 10 ms

      • Download: 69.03 Mbps

      • Upload: 24.68 Mbps




      Below is the *.ovpn config that i use for my Windows machine.




      client
      dev tun
      proto udp
      remote IP 1198
      resolv-retry infinite
      nobind
      persist-key
      persist-tun
      cipher aes-128-cbc
      auth sha1
      tls-client
      remote-cert-tls server

      auth-user-pass
      compress
      verb 3
      reneg-sec 0

      -----BEGIN X509 CRL-----

      -----END X509 CRL-----



      -----BEGIN CERTIFICATE-----

      -----END CERTIFICATE-----


      disable-occ


      Below is the *.ovpn config that i use for my Linux machines.




      client
      dev tun
      proto udp
      remote IP 1198
      resolv-retry infinite
      nobind
      persist-key
      persist-tun
      cipher aes-128-cbc
      auth sha1
      tls-client
      remote-cert-tls server

      comp-lzo no
      verb 3
      reneg-sec 0
      crl-verify crl.rsa.2048.pem
      ca ca.rsa.2048.crt

      disable-occ

      auth-user-pass ../passfile
      auth-nocache

      setenv opt block-outside-dns

      script-security 2
      up /etc/openvpn/update-resolv-conf
      down /etc/openvpn/update-resolv-conf










      share|improve this question













      i am experiencing different bandwith and different pings when connecting from my home to the vpn servers of my vpn service provider in asia. So client and host location stays the same. Only OS and machines (vm or native) vary.



      The differences vary from the OS / machine i am using. What could cause this? What should i adjust / compare?





      When using Windows 7 x64 with OpenVPN v11.10.0 i have the following bandwith regarding to speedtest.net




      • Ping: 275ms

      • Download: 25.39 Mbps

      • Upload: 9.51 Mbps


      And without active vpn:




      • Ping: 6ms

      • Download: 69.84 Mbps

      • Upload: 25.33 Mbps




      When running my virtual machine inside that Windows 7 machine using Lubuntu 16.04, Kernel 4.4.0-139-generic, OpenVPN 2.4.6 (before i had version 2.3.10 but that didn`t make any difference)




      • Ping: 276ms

      • Download: 3.62 Mbps

      • Upload: 4.68 Mbps


      Without active vpn:




      • Ping: 10ms

      • Download: 69.51 Mbps

      • Upload: 20.24 Mbps




      When using my Lubuntu native machine ( that i mainly use as homeserver), with Lubuntu 16.04, Kernel 4.4.0-139-generic and OpenVPN 2.3.10




      • Ping: 393ms

      • Download: 16.43 Mbps

      • Upload: 6.14 Mbps


      Wihout active vpn:




      • Ping: 10 ms

      • Download: 69.03 Mbps

      • Upload: 24.68 Mbps




      Below is the *.ovpn config that i use for my Windows machine.




      client
      dev tun
      proto udp
      remote IP 1198
      resolv-retry infinite
      nobind
      persist-key
      persist-tun
      cipher aes-128-cbc
      auth sha1
      tls-client
      remote-cert-tls server

      auth-user-pass
      compress
      verb 3
      reneg-sec 0

      -----BEGIN X509 CRL-----

      -----END X509 CRL-----



      -----BEGIN CERTIFICATE-----

      -----END CERTIFICATE-----


      disable-occ


      Below is the *.ovpn config that i use for my Linux machines.




      client
      dev tun
      proto udp
      remote IP 1198
      resolv-retry infinite
      nobind
      persist-key
      persist-tun
      cipher aes-128-cbc
      auth sha1
      tls-client
      remote-cert-tls server

      comp-lzo no
      verb 3
      reneg-sec 0
      crl-verify crl.rsa.2048.pem
      ca ca.rsa.2048.crt

      disable-occ

      auth-user-pass ../passfile
      auth-nocache

      setenv opt block-outside-dns

      script-security 2
      up /etc/openvpn/update-resolv-conf
      down /etc/openvpn/update-resolv-conf







      linux windows networking vpn openvpn






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 21 at 8:42









      AlexOnLinux

      1034




      1034



























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1377205%2fopenvpn-performance-issues-different-bandwith-on-different-client-systems-bu%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1377205%2fopenvpn-performance-issues-different-bandwith-on-different-client-systems-bu%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          QoS: MAC-Priority for clients behind a repeater

          Ивакино (Тотемский район)

          Can't locate Autom4te/ChannelDefs.pm in @INC (when it definitely is there)