AD users not able to connect to SSL_VPN, Local users connect correctly. Auth Method set correctly.

Hi all, I have checked through the form but nothing has seemed to explain what is going wrong. Here is the log to start:
[ 2018/11/19 12:45:12 ][SecuExtender Agent][DETAIL]  Build Datetime: Dec 22 2016/15:25:36
[ 2018/11/19 12:45:12 ][SecuExtender Agent][DEBUG]   SecuExtender.log: C:\Users\%Username%\SecuExtender.log
[ 2018/11/19 12:45:12 ][SecuExtender Agent][DEBUG]   osvi.dwPlatformId = 2, osvi.dwMajorVersion = 6, osvi.dwMinorVersion = 2
[ 2018/11/19 12:45:12 ][SecuExtender Agent][DEBUG]   interface guid: {F90AB50A-709D-44E6-A0AE-229DEA5DAC8F}, idx: 2
[ 2018/11/19 12:45:12 ][SecuExtender Agent][DEBUG]   tBuf : (\DEVICE\TCPIP_{F90AB50A-709D-44E6-A0AE-229DEA5DAC8F})
[ 2018/11/19 12:45:12 ][SecuExtender Agent][DEBUG]   network name got, idx: 18
[ 2018/11/19 12:45:39 ][SecuExtender Agent][DETAIL]  Checking service (first) ...
[ 2018/11/19 12:45:39 ][SecuExtender Agent][DETAIL]  SecuExtender Helper is running
[ 2018/11/19 12:45:39 ][SecuExtender Agent][DETAIL]  Try to connect to SecuExtender Helper
[ 2018/11/19 12:45:39 ][SecuExtender Agent][DETAIL]  SecuExtender Helper is connected
[ 2018/11/19 12:45:39 ][SecuExtender Agent][INFO]    [ThyTech] try to login ***.***.***.***:443
[ 2018/11/19 12:45:39 ][SecuExtender Agent][INFO]    Connect to ********:443
[ 2018/11/19 12:45:39 ][SecuExtender Agent][INFO]    Local address is *********
[ 2018/11/19 12:45:39 ][SecuExtender Agent][DEBUG]   Connect success.
[ 2018/11/19 12:45:39 ][SecuExtender Agent][DETAIL]  Handshake LoopCounter: 0
[ 2018/11/19 12:45:39 ][SecuExtender Agent][DETAIL]  1271 bytes of handshake data received
[ 2018/11/19 12:45:39 ][SecuExtender Agent][DETAIL]  InitializeSecurityContext returns 0x90312
[ 2018/11/19 12:45:39 ][SecuExtender Agent][DETAIL]  Send 126 bytes of handshake data
[ 2018/11/19 12:45:39 ][SecuExtender Agent][DETAIL]  Handshake LoopCounter: 1
[ 2018/11/19 12:45:39 ][SecuExtender Agent][DETAIL]  258 bytes of handshake data received
[ 2018/11/19 12:45:39 ][SecuExtender Agent][DETAIL]  InitializeSecurityContext returns 0x0
[ 2018/11/19 12:45:39 ][SecuExtender Agent][DETAIL]  SSL Handshake is successful
[ 2018/11/19 12:45:39 ][SecuExtender Agent][DETAIL]  STREAM_SIZE: Header: 13 Trailer: 16, MaxMessage: 16384
[ 2018/11/19 12:45:39 ][SecuExtender Agent][DETAIL]  Protocol: TLS1.2
[ 2018/11/19 12:45:39 ][SecuExtender Agent][DETAIL]  Cipher: AES256
[ 2018/11/19 12:45:39 ][SecuExtender Agent][DETAIL]  Cipher strength: 256
[ 2018/11/19 12:45:39 ][SecuExtender Agent][DETAIL]  Hash: SHA384
[ 2018/11/19 12:45:39 ][SecuExtender Agent][DETAIL]  Hash strength: 0
[ 2018/11/19 12:45:39 ][SecuExtender Agent][DETAIL]  Key exchange: 0xae06
[ 2018/11/19 12:45:39 ][SecuExtender Agent][DETAIL]  Key exchange strength: 256
[ 2018/11/19 12:45:39 ][SecuExtender Agent][INFO]    Server subject: CN=usg40_*******
[ 2018/11/19 12:45:39 ][SecuExtender Agent][INFO]    Server issuer: CN=usg40_********
[ 2018/11/19 12:45:39 ][SecuExtender Agent][ERROR]   **** Error 0x800b0109 authenticating server credentials! (0x0)
[ 2018/11/19 12:45:40 ][SecuExtender Agent][DETAIL]  SSL session is created
[ 2018/11/19 12:45:40 ][SecuExtender Agent][DEBUG]   SSL Connection is going to be closed
[ 2018/11/19 12:45:40 ][SecuExtender Agent][INFO]    user login device success
[ 2018/11/19 12:45:40 ][SecuExtender Agent][INFO]    Creating secure tunnel to ***.***.***.***:443
[ 2018/11/19 12:45:40 ][SecuExtender Agent][INFO]    Connect to ********:443
[ 2018/11/19 12:45:40 ][SecuExtender Agent][INFO]    Local address is ********
[ 2018/11/19 12:45:40 ][SecuExtender Agent][DEBUG]   Connect success.
[ 2018/11/19 12:45:40 ][SecuExtender Agent][DETAIL]  Handshake LoopCounter: 0
[ 2018/11/19 12:45:40 ][SecuExtender Agent][DETAIL]  1271 bytes of handshake data received
[ 2018/11/19 12:45:40 ][SecuExtender Agent][DETAIL]  InitializeSecurityContext returns 0x90312
[ 2018/11/19 12:45:40 ][SecuExtender Agent][DETAIL]  Send 126 bytes of handshake data
[ 2018/11/19 12:45:40 ][SecuExtender Agent][DETAIL]  Handshake LoopCounter: 1
[ 2018/11/19 12:45:40 ][SecuExtender Agent][DETAIL]  258 bytes of handshake data received
[ 2018/11/19 12:45:40 ][SecuExtender Agent][DETAIL]  InitializeSecurityContext returns 0x0
[ 2018/11/19 12:45:40 ][SecuExtender Agent][DETAIL]  SSL Handshake is successful
[ 2018/11/19 12:45:40 ][SecuExtender Agent][DETAIL]  STREAM_SIZE: Header: 13 Trailer: 16, MaxMessage: 16384
[ 2018/11/19 12:45:40 ][SecuExtender Agent][DETAIL]  Secure session is created
[ 2018/11/19 12:45:40 ][SecuExtender Agent][DETAIL]  Secure session negotiation begin
[ 2018/11/19 12:45:40 ][SecuExtender Agent][DETAIL]  stage 1...done
[ 2018/11/19 12:45:40 ][SecuExtender Agent][DETAIL]  stage 2...done
[ 2018/11/19 12:45:40 ][SecuExtender Agent][WARN]    The device is going to close the connection.
[ 2018/11/19 12:45:40 ][SecuExtender Agent][ERROR]   stage 3...failed (0x0)
[ 2018/11/19 12:45:40 ][SecuExtender Agent][ERROR]   Failed to create security tunnel (0x0)
[ 2018/11/19 12:45:40 ][SecuExtender Agent][DEBUG]   SSL Connection is going to be closed
[ 2018/11/19 12:45:40 ][SecuExtender Agent][INFO]    Connect to ********:443
[ 2018/11/19 12:45:40 ][SecuExtender Agent][INFO]    Local address is ********
[ 2018/11/19 12:45:40 ][SecuExtender Agent][DEBUG]   Connect success.
[ 2018/11/19 12:45:40 ][SecuExtender Agent][DETAIL]  Handshake LoopCounter: 0
[ 2018/11/19 12:45:41 ][SecuExtender Agent][DETAIL]  1271 bytes of handshake data received
[ 2018/11/19 12:45:41 ][SecuExtender Agent][DETAIL]  InitializeSecurityContext returns 0x90312
[ 2018/11/19 12:45:41 ][SecuExtender Agent][DETAIL]  Send 126 bytes of handshake data
[ 2018/11/19 12:45:41 ][SecuExtender Agent][DETAIL]  Handshake LoopCounter: 1
[ 2018/11/19 12:45:41 ][SecuExtender Agent][DETAIL]  258 bytes of handshake data received
[ 2018/11/19 12:45:41 ][SecuExtender Agent][DETAIL]  InitializeSecurityContext returns 0x0
[ 2018/11/19 12:45:41 ][SecuExtender Agent][DETAIL]  SSL Handshake is successful
[ 2018/11/19 12:45:41 ][SecuExtender Agent][DETAIL]  STREAM_SIZE: Header: 13 Trailer: 16, MaxMessage: 16384
[ 2018/11/19 12:45:41 ][SecuExtender Agent][INFO]    logout message has sent
[ 2018/11/19 12:45:41 ][SecuExtender Agent][DEBUG]   SSL Connection is going to be closed
[ 2018/11/19 12:45:41 ][SecuExtender Agent][DETAIL]  Connection ends.

This just occurs with AD Users which validate properly within the GUI. Local users connect normally without issue. 

Auth Method is setup with Local and Group AD

Router Log just shows this 
1
2018-11-20 11:51:25
notice
User
User ******(MAC=-) from http/https has logged out Device


2
2018-11-20 11:51:25
notice
SSL VPN
User ******* from http/https is connecting SSL tunnel.

3
2018-11-20 11:51:25
notice
User
User ******(MAC=-) from http/https has logged in Device
This is a USG 40 running 4.32. Something similar is also occurring on a USG 20 - VPN

Server is 2012 R2 in both cases. 

All Replies

  • Zyxel_EmilyZyxel_Emily Zyxel Official Agent Posts: 269  mod

    Hi @Thysmith,

     

    AD user is able to establish SSL VPN to USG40.


    Make sure ad-users is in selected user in SSL VPN policy.


    If you’re using the default Authentication Method rule, make sure “group ad” is on the list.


    If you create another rule(ex: new_auth) in Authentication Method with “group ad”, remember to select the new created rule (ex: new_auth) in CONFIGURATION > System > WWW > Service Control > Authentication.


    The latest firmware is sent to you in the private message. 
    If AD user is still unable to build SSL VPN, please feel free to let me know and send the remote access information to me via private message.
  • Hi Emily, Appears the Firmware update you sent me resolved the issue! Thank you so much!
  • Zyxel_EmilyZyxel_Emily Zyxel Official Agent Posts: 269  mod

    Good to hear the issue is resolved.   =)
  • I'm also having a similar issue, running firmware V4.32(ABAQ.0) on USG20-VPN
    Is there a newer firmware?\

  • Zyxel_EmilyZyxel_Emily Zyxel Official Agent Posts: 269  mod

    The firmware is sent to you via private message.
  • Hi Emily, Some of my users are still having quite a bit issues connecting. The new firmware you provided did have good results but it is still hit and miss, any other suggestions?
  • Zyxel_CharlieZyxel_Charlie Zyxel Official Agent Posts: 686  mod
    @Thysmith
    Regarding to your description, some of users faced the issue, others did not.
    You may check issue account on device.
    Go to AAA server, and press test.

    If the account is in the AD group, the result will show as below

    Or you need to make sure the account already added in your own AD server.
    Charlie
  • Haha, that is definitely not the issue.

    What I am seeing is this:

    I am actually now trying it with a Local User Account (Nick and a Domain account NickW)

    They both show as logged in on this page of the router. 

    BUT

    Aint Nobody home. 

    I get this but nothing else in the logs 


    (hope you can see that)
  • ThysmithThysmith Member Posts: 11
    edited January 29, 2019 12:29PM
    It Appears that 4.33 dropped today and I noticed SE 4.0.3.0. So far things worked right after reboot, but I will test further and report back. 
Sign In to comment.