Important note about SSL VPN compatibility for 20.0 MR1 with EoL SFOS versions and UTM9 OS. Learn more in the release notes.

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

Poor SSL VPN performance when using TCP

Hello folks,

 

i am pretty disappointed with the SSL VPN performance on TCP connections. When using TCP i only get ~16 Mbit/s when copying files over SMB. With UDP the performance is much better and i get the full 50 MBit/s. This is not acceptable at all, since i always got the full performance with UTM on even slower hardware and i need to use TCP on some sites. I've tested this on multiple appliances with our customers (XG210, XG125, XG115 etc.) and it's always the same: TCP performance on SSL VPN is plain bad and there is no heavy load on the CPUs involved.

 

Is this a bug, or is the TCP SSL VPN performance really that bad compared to UTM?



This thread was automatically locked due to age.
Parents
  • Shouldnt be the case, as i tested it with Sophos Connect 2.0 back in the days on multiple devices. 

    Do you use Compression on SSLVPN? 

    Did you try Sophos Connect 2.0 or the OpenVPN Client? 

    Did you only try SMB? Can you try other protocols, as SMB can actually cause such problems (re transmissions). 

    Likely caused by MTU Issues: https://forums.openvpn.net/viewtopic.php?t=25039

     

     

    __________________________________________________________________________________________________________________

  • I really need this to get sorted out, otherwise we will stop deploying XG firewalls to our customers. Since it has nothing to do with SMB and SG Firewall is using the very same MTU size, it should be something else going on.

  • So we would have to catch up on the 16 mbit/s difference to  120 mbit/s. 

    I found something, which could be the root cause, needs to be analysed for now. 

    __________________________________________________________________________________________________________________

  • Hi,

    i was linked to this thread.

    I have several users with Windows 10 / 1909 and they use direct Access (HTTPS) to internal servers (no problem).

    I formy self use Sophos VPN Client to connect to a XG 17.5.MR12 and i dont´have any perf. problems (not realy).

    But

    I have one user in Phoenix USA with high WAN latency (about 200ms average) with a performance drop to 355kbit/s.
    He uses a Cable Modem with about 60-100MBit.

    It doesn´t matter if he uses Sophos VPN or Microsoft Direct Access (always slow with 355kbit/s).
    This is slow with SMB File Access.

    The server are located in germany.

    is there any change that the WAN latency could be a problem with TCP / UDP? 

  •  

    atop:

    NET | tun0 1578% | pcki 29337 | pcko 57619 | sp 10 Mbps | si 2428 Kbps | so 157 Mbps | | coll 0 | mlti 0 | erri 0 | erro 0 | drpi 0 | drpo 0

     

    Looks better to me.

     

    Could you please try following:

    Within the config file: 

    resolv-retry infinite
    nobind
    sndbuf 0
    rcvbuf 0
    persist-key

     

     

    If this does not help after reimporting the config file, there is a second change needed on XG. I just want to know, if this Client config change helps or not. 

    This is currently under investigation. 

    __________________________________________________________________________________________________________________

  • I added the two parameters to my config file. Unfortunately it makes no difference at all, tried with the OpenVPN Client and the Sophos Connect 2.0 Client.

    Edit:

    I tested this now with android. I tested UDP, TCP and TCP edited with the parameters you mentioned. The results are roughly the same as with Windows:
    TCP: 8-10 Mbit/s
    UDP: 35-45 Mbit/s

  • hi  

    Tried with your 2 params and no difference at all, exacly 16Mbit/s using TCP.

    (windows 10 / openssl / XGvirutal v18 MR1 hosted on gigabit link)

  • Thanks for the feedback.
    Please give Sophos some time to review the test scenario and the different perspectives. 

    As far as i know, Sophos has a RootCause of this issue and will look into fixing this in a upcoming release. 

    __________________________________________________________________________________________________________________

  • I've just compared the OpenVPN Client logs from UTM and XG. Those are the differences i've found.

    Why is XG only using TSL v1 while UTM is using TLS v1.2?

  • Where do i find these config file on the Windows 10 client PC?

    I had a second user today (in Dortmund/Germany).
    He uses WLAN and MS Direct access.

    Due to latency his SMB downloads is about 355-800kbit/s.

    I don´t think that this something that a VPN client could fix.

    I read some threads about mtu size and tcp autoscaling with MS DA Servers on Hyper-V ...

  • I'd suggest you open your own thread, since this has nothing to do with this topic.

  • Thas right,

    but even with Sopos VPN Client the error is the same.

    I had a own thread and was directed here.

Reply Children