Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SSL vpn 10mb

Hello Everybody,
I experiencing some issue with SSL VPN
I have in office 100mb up/down and in my home 25mb.
When I open connection via SLL VPN Utm 220 I get maximum 10Mb , and nic from Sophos ssl shows 10 MB as well.When I open the PPTP or L2TP i get maximum speed 25mb what provided give me .
I just wondering if that some bug  or only me experiencing that issue with connection limit?


This thread was automatically locked due to age.
Parents
  • To provide an example of properly configuring OpenVPN for the best performance possible, below is an example config from the wiki I wrote on OpenWRT for setting up OpenVPN on OpenWRT routers.  

    Due to the three factor authentication Sophos employs with OpenVPN (1st - User Name/Password; 2. TLS via certificate attributes; 3. the SSL certs themsevles), certain options from the example config will not apply, and prior to editing any config file, please read the OpenVPN HowTO and ManPage. The HowTo takes ~15 minutes to read, while the ManPage takes ~45 minutes, and both are important because the HowTO gives a basic rundown on how to do the most popular options, while the ManPages provide every configuration option, allowing you to truly personalize your VPN for low latency, high throughput.


    • Included at the bottom of the above linked tutorial are links to cover every concievable question about OpenVPN configs [regardless of OS]
    • Please note, OpenWRT's "option" and single quotes [ ' ' ] should not be utilized in Linux; space underlines " _ " [i.e. tun_mtu] should be dashes " - " in Linux [i.e. tun-mtu]
    • SSL CA and certs should be configured with SHA512, which processes faster than SHA256 [bare minimum... md5 and sha1 should never be utilized]
    • Unless you require a private tunnel to transport TS/SCI [3072bit], your certs and dh should never exceed 2048bit, which is currently uncrackable until at least 2030.  2048bit's performance hit vs 1024bit is so miniscule, it's negligible; however, anything higher than 2048 will severely affect throughput and latency 

    Server Config [OpenWRT]
    config openvpn 'VPNserver'
     
            option enabled     '1'
     
        # --- Protocol ---#
            option dev         'tun'
            option dev         'tun0'
            option topology    'subnet'
            option proto       'udp'
            option port        '1194'
     
        #--- Routes ---#
            option server    '10.1.1.0 255.255.255.0'
     
        #--- Client Config ---#
    #       option ccd_exclusive           '1'
    #       option ifconfig_pool_persist   '/etc/openvpn/clients/ipp.txt'
    #       option client_config_dir       '/etc/openvpn/clients/'
            option ifconfig                '10.1.1.1 255.255.255.0'
     
        #--- Pushed Routes ---#
            list push    'route 192.168.1.0 255.255.255.0'
            list push    'dhcp-option DNS 192.168.1.1'
            list push    'dhcp-option WINS 192.168.1.1'
            list push    'dhcp-option DNS 8.8.8.8'
            list push    'dhcp-option DNS 8.8.4.4'
            list push    'dhcp-option NTP 129.6.15.30'
     
        #--- Encryption ---#
            option cipher     'AES-256-CBC'
            option dh         '/etc/openvpn/keys/dh2048.pem'
            option pkcs12     '/etc/openvpn/keys/my-server.p12'
            option tls_auth   '/etc/openvpn/keys/ta.key 0'
     
        #--- Logging ---#
            option log           '/tmp/openvpn.log'
            option status        '/tmp/openvpn-status.log'
            option verb          '7'
     
        #--- Connection Options ---#
            option keepalive        '10 120'
            option comp_lzo         'yes'
     
        #--- Connection Reliability ---#
            option client_to_client '1'
            option persist_key      '1'
            option persist_tun      '1'
     
        #--- Connection Speed ---#    
            option sndbuf            '393216'
            option rcvbuf            '393216'
            option fragment          '0'
            option mssfix            '0'
            option tun_mtu           '48000'
     
        #--- Pushed Buffers ---#
            list push    'sndbuf 393216'
            list push    'rcvbuf 393216'
     
        #--- Permissions ---#
            option user     'nobody'
            option group    'nogroup'


    Client Config [Windows]
    client
    dev tun
    tun-mtu 48000
    fragment 0
    mssfix 0
    proto udp
    remote your.ddns.com 1194
    float
    resolv-retry infinite
    nobind
    persist-key
    persist-tun
    pkcs12 OpenWRT-VPNclient1.p12
    key-direction 1

    -----BEGIN OpenVPN Static key V1-----
    #---PASTE KEY HERE---#
    -----END OpenVPN Static key V1-----

    remote-cert-tls server
    cipher AES-256-CBC
    auth-nocache
    verb 5
    comp-lzo


    Client Config [Android]
    client
    dev tun
    tun-mtu 48000
    fragment 0
    mssfix 0
    proto udp
    remote your.ddns.com 1194
    float
    nobind
    persist-key
    persist-tun
    key-direction 1

    -----BEGIN OpenVPN Static key V1-----
    #---PASTE KEY HERE---#
    -----END OpenVPN Static key V1-----

    remote-cert-tls server
    cipher AES-256-CBC
    auth-nocache
    verb 5
    comp-lzo
Reply
  • To provide an example of properly configuring OpenVPN for the best performance possible, below is an example config from the wiki I wrote on OpenWRT for setting up OpenVPN on OpenWRT routers.  

    Due to the three factor authentication Sophos employs with OpenVPN (1st - User Name/Password; 2. TLS via certificate attributes; 3. the SSL certs themsevles), certain options from the example config will not apply, and prior to editing any config file, please read the OpenVPN HowTO and ManPage. The HowTo takes ~15 minutes to read, while the ManPage takes ~45 minutes, and both are important because the HowTO gives a basic rundown on how to do the most popular options, while the ManPages provide every configuration option, allowing you to truly personalize your VPN for low latency, high throughput.


    • Included at the bottom of the above linked tutorial are links to cover every concievable question about OpenVPN configs [regardless of OS]
    • Please note, OpenWRT's "option" and single quotes [ ' ' ] should not be utilized in Linux; space underlines " _ " [i.e. tun_mtu] should be dashes " - " in Linux [i.e. tun-mtu]
    • SSL CA and certs should be configured with SHA512, which processes faster than SHA256 [bare minimum... md5 and sha1 should never be utilized]
    • Unless you require a private tunnel to transport TS/SCI [3072bit], your certs and dh should never exceed 2048bit, which is currently uncrackable until at least 2030.  2048bit's performance hit vs 1024bit is so miniscule, it's negligible; however, anything higher than 2048 will severely affect throughput and latency 

    Server Config [OpenWRT]
    config openvpn 'VPNserver'
     
            option enabled     '1'
     
        # --- Protocol ---#
            option dev         'tun'
            option dev         'tun0'
            option topology    'subnet'
            option proto       'udp'
            option port        '1194'
     
        #--- Routes ---#
            option server    '10.1.1.0 255.255.255.0'
     
        #--- Client Config ---#
    #       option ccd_exclusive           '1'
    #       option ifconfig_pool_persist   '/etc/openvpn/clients/ipp.txt'
    #       option client_config_dir       '/etc/openvpn/clients/'
            option ifconfig                '10.1.1.1 255.255.255.0'
     
        #--- Pushed Routes ---#
            list push    'route 192.168.1.0 255.255.255.0'
            list push    'dhcp-option DNS 192.168.1.1'
            list push    'dhcp-option WINS 192.168.1.1'
            list push    'dhcp-option DNS 8.8.8.8'
            list push    'dhcp-option DNS 8.8.4.4'
            list push    'dhcp-option NTP 129.6.15.30'
     
        #--- Encryption ---#
            option cipher     'AES-256-CBC'
            option dh         '/etc/openvpn/keys/dh2048.pem'
            option pkcs12     '/etc/openvpn/keys/my-server.p12'
            option tls_auth   '/etc/openvpn/keys/ta.key 0'
     
        #--- Logging ---#
            option log           '/tmp/openvpn.log'
            option status        '/tmp/openvpn-status.log'
            option verb          '7'
     
        #--- Connection Options ---#
            option keepalive        '10 120'
            option comp_lzo         'yes'
     
        #--- Connection Reliability ---#
            option client_to_client '1'
            option persist_key      '1'
            option persist_tun      '1'
     
        #--- Connection Speed ---#    
            option sndbuf            '393216'
            option rcvbuf            '393216'
            option fragment          '0'
            option mssfix            '0'
            option tun_mtu           '48000'
     
        #--- Pushed Buffers ---#
            list push    'sndbuf 393216'
            list push    'rcvbuf 393216'
     
        #--- Permissions ---#
            option user     'nobody'
            option group    'nogroup'


    Client Config [Windows]
    client
    dev tun
    tun-mtu 48000
    fragment 0
    mssfix 0
    proto udp
    remote your.ddns.com 1194
    float
    resolv-retry infinite
    nobind
    persist-key
    persist-tun
    pkcs12 OpenWRT-VPNclient1.p12
    key-direction 1

    -----BEGIN OpenVPN Static key V1-----
    #---PASTE KEY HERE---#
    -----END OpenVPN Static key V1-----

    remote-cert-tls server
    cipher AES-256-CBC
    auth-nocache
    verb 5
    comp-lzo


    Client Config [Android]
    client
    dev tun
    tun-mtu 48000
    fragment 0
    mssfix 0
    proto udp
    remote your.ddns.com 1194
    float
    nobind
    persist-key
    persist-tun
    key-direction 1

    -----BEGIN OpenVPN Static key V1-----
    #---PASTE KEY HERE---#
    -----END OpenVPN Static key V1-----

    remote-cert-tls server
    cipher AES-256-CBC
    auth-nocache
    verb 5
    comp-lzo
Children
No Data