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, nslookup ok, but no ping

[SOLVED, but currently for admin user only!]

Hi there,

switched to astaro SSL VPN and have now huge problem:

ping IP works.
ping hostname or FQDN does NOT work
nslookup works.

VPN push internal DNS servers works just fine. They also answers to nslookup, but ping says "host name not found".

Same behavior for internal and external domains like google.com.
[:@] But sometimes it works just fine! [:@] 

VPN connection is on the top in connection list. Flushdns helps _sometimes_.

I have tried to deactivate NetBIOS in adapter settings and it works now, but after "sleep" not anymore.

This drives me crazy, is there any "ready for use" solution? Or does nobody use this buggy feature of astaro?

Similar thread: https://community.sophos.com/products/unified-threat-management/astaroorg/f/58/t/55090
Some old thread with same prob: https://community.sophos.com/products/unified-threat-management/astaroorg/f/58/t/53075


This thread was automatically locked due to age.
Parents
  • ok, log from fresh installed Win7 english:



        Thu Apr 02 23:51:06 2015 OpenVPN 2.3.0 i686-w64-mingw32 [SSL (OpenSSL)] [LZO] [IPv6] built on Jul  3 2014
        Enter Management Password:
        Thu Apr 02 23:51:06 2015 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
        Thu Apr 02 23:51:06 2015 Need hold release from management interface, waiting...
        Thu Apr 02 23:51:06 2015 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
        Thu Apr 02 23:51:06 2015 MANAGEMENT: CMD 'state on'
        Thu Apr 02 23:51:06 2015 MANAGEMENT: CMD 'log all on'
        Thu Apr 02 23:51:06 2015 MANAGEMENT: CMD 'hold off'
        Thu Apr 02 23:51:06 2015 MANAGEMENT: CMD 'hold release'
        Thu Apr 02 23:51:12 2015 MANAGEMENT: CMD 'username "Auth" "***"'
        Thu Apr 02 23:51:12 2015 MANAGEMENT: CMD 'password [...]'
        Thu Apr 02 23:51:12 2015 WARNING: Make sure you understand the semantics of --tls-remote before using it (see the man page).
        Thu Apr 02 23:51:12 2015 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
        Thu Apr 02 23:51:12 2015 Socket Buffers: R=[8192->8192] S=[8192->8192]
        Thu Apr 02 23:51:12 2015 MANAGEMENT: >STATE:1428011472,RESOLVE,,,
        Thu Apr 02 23:51:12 2015 Attempting to establish TCP connection with [AF_INET]*********:443 [nonblock]
        Thu Apr 02 23:51:12 2015 MANAGEMENT: >STATE:1428011472,TCP_CONNECT,,,
        Thu Apr 02 23:51:13 2015 TCP connection established with [AF_INET]*********x:443
        Thu Apr 02 23:51:13 2015 TCPv4_CLIENT link local: [undef]
        Thu Apr 02 23:51:13 2015 TCPv4_CLIENT link remote: [AF_INET]*********:443
        Thu Apr 02 23:51:13 2015 MANAGEMENT: >STATE:1428011473,WAIT,,,
        Thu Apr 02 23:51:13 2015 MANAGEMENT: >STATE:1428011473,AUTH,,,
        Thu Apr 02 23:51:13 2015 TLS: Initial packet from [AF_INET]*********x:443, sid=b6be24fd 3afd589c
        Thu Apr 02 23:51:13 2015 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
        auth logs
        Thu Apr 02 23:51:14 2015 [astaro] Peer Connection Initiated with [AF_INET]***x:443
        Thu Apr 02 23:51:15 2015 MANAGEMENT: >STATE:1428011475,GET_CONFIG,,,
        Thu Apr 02 23:51:17 2015 SENT CONTROL [astaro]: 'PUSH_REQUEST' (status=1)
        Thu Apr 02 23:51:17 2015 PUSH: Received control message: 'PUSH_REPLY,register-dns,route 10.242.2.1,topology net30,ping 10,ping-restart 120,redirect-gateway def1,dhcp-option DNS 10.17.11.1,dhcp-option DNS 192.12.144.30,dhcp-option DOMAIN domain.local,ifconfig 10.242.2.6 10.242.2.5'
        Thu Apr 02 23:51:17 2015 OPTIONS IMPORT: timers and/or timeouts modified
        Thu Apr 02 23:51:17 2015 OPTIONS IMPORT: --ifconfig/up options modified
        Thu Apr 02 23:51:17 2015 OPTIONS IMPORT: route options modified
        Thu Apr 02 23:51:17 2015 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
        Thu Apr 02 23:51:17 2015 ROUTE_GATEWAY 192.12.144.254/255.255.255.0 I=11 HWADDR=00:50:56:a1:3c:c2
        Thu Apr 02 23:51:17 2015 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
        Thu Apr 02 23:51:17 2015 MANAGEMENT: >STATE:1428011477,ASSIGN_IP,,10.242.2.6,
        Thu Apr 02 23:51:17 2015 open_tun, tt->ipv6=0
        Thu Apr 02 23:51:17 2015 TAP-WIN32 device [Local Area Connection 2] opened: \.\Global\{15EC0C37-08E5-4F23-A877-7DFEE0560F7F}.tap
        Thu Apr 02 23:51:17 2015 TAP-Windows Driver Version 9.9
        Thu Apr 02 23:51:17 2015 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.242.2.6/255.255.255.252 on interface {15EC0C37-08E5-4F23-A877-7DFEE0560F7F} [DHCP-serv: 10.242.2.5, lease-time: 31536000]
        Thu Apr 02 23:51:17 2015 NOTE: FlushIpNetTable failed on interface [20] {15EC0C37-08E5-4F23-A877-7DFEE0560F7F} (status=5) : Access is denied.  
        Thu Apr 02 23:51:21 2015 TEST ROUTES: 3/3 succeeded len=2 ret=1 a=0 u/d=up
        Thu Apr 02 23:51:21 2015 C:\Windows\system32\route.exe ADD ext_ip MASK 255.255.255.255 192.12.144.254
        Thu Apr 02 23:51:21 2015 Route addition via service succeeded
        Thu Apr 02 23:51:21 2015 C:\Windows\system32\route.exe ADD 0.0.0.0 MASK 128.0.0.0 10.242.2.5
        Thu Apr 02 23:51:21 2015 Route addition via service succeeded
        Thu Apr 02 23:51:21 2015 C:\Windows\system32\route.exe ADD 128.0.0.0 MASK 128.0.0.0 10.242.2.5
        Thu Apr 02 23:51:21 2015 Route addition via service succeeded
        Thu Apr 02 23:51:21 2015 MANAGEMENT: >STATE:1428011481,ADD_ROUTES,,,
        Thu Apr 02 23:51:21 2015 C:\Windows\system32\route.exe ADD ext_ip MASK 255.255.255.255 192.12.144.254
        Thu Apr 02 23:51:21 2015 ROUTE: route addition failed using service: The object already exists.   [status=5010 if_index=11]
        Thu Apr 02 23:51:21 2015 Route addition via service failed
        Thu Apr 02 23:51:21 2015 C:\Windows\system32\route.exe ADD 10.242.2.1 MASK 255.255.255.255 10.242.2.5
        Thu Apr 02 23:51:21 2015 Route addition via service succeeded
        Thu Apr 02 23:51:21 2015 Initialization Sequence Completed
        Thu Apr 02 23:51:21 2015 MANAGEMENT: >STATE:1428011481,CONNECTED,SUCCESS,10.242.2.6,ext_ip
        Thu Apr 02 23:51:21 2015 Start net commands...
        Thu Apr 02 23:51:21 2015 C:\Windows\system32\net.exe stop dnscache
        System error 5 has occurred.
         
        Access is denied.
         
        Thu Apr 02 23:51:21 2015 ERROR: Windows ipconfig command failed: returned error code 2
        Thu Apr 02 23:51:21 2015 C:\Windows\system32\net.exe start dnscache
        The requested service has already been started.
         
        More help is available by typing NET HELPMSG 2182.
         
        Thu Apr 02 23:51:21 2015 ERROR: Windows ipconfig command failed: returned error code 2
        Thu Apr 02 23:51:21 2015 C:\Windows\system32\ipconfig.exe /flushdns
         
        Windows IP Configuration
         
        Successfully flushed the DNS Resolver Cache.
        Thu Apr 02 23:51:21 2015 C:\Windows\system32\ipconfig.exe /registerdns
        The requested operation requires elevation.

         
        Thu Apr 02 23:51:21 2015 ERROR: Windows ipconfig command failed: returned error code 1
        Thu Apr 02 23:51:21 2015 End net commands...



    Ok, 1 route add failed because connecting from intern network to intern network, so expected. But why is C:\Windows\system32\net.exe stop dnscache failed? 

    OpenVPN Interactive Service is running,
    OpenVPN Service is not running and startup setting is "manual".
Reply
  • ok, log from fresh installed Win7 english:



        Thu Apr 02 23:51:06 2015 OpenVPN 2.3.0 i686-w64-mingw32 [SSL (OpenSSL)] [LZO] [IPv6] built on Jul  3 2014
        Enter Management Password:
        Thu Apr 02 23:51:06 2015 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
        Thu Apr 02 23:51:06 2015 Need hold release from management interface, waiting...
        Thu Apr 02 23:51:06 2015 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
        Thu Apr 02 23:51:06 2015 MANAGEMENT: CMD 'state on'
        Thu Apr 02 23:51:06 2015 MANAGEMENT: CMD 'log all on'
        Thu Apr 02 23:51:06 2015 MANAGEMENT: CMD 'hold off'
        Thu Apr 02 23:51:06 2015 MANAGEMENT: CMD 'hold release'
        Thu Apr 02 23:51:12 2015 MANAGEMENT: CMD 'username "Auth" "***"'
        Thu Apr 02 23:51:12 2015 MANAGEMENT: CMD 'password [...]'
        Thu Apr 02 23:51:12 2015 WARNING: Make sure you understand the semantics of --tls-remote before using it (see the man page).
        Thu Apr 02 23:51:12 2015 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
        Thu Apr 02 23:51:12 2015 Socket Buffers: R=[8192->8192] S=[8192->8192]
        Thu Apr 02 23:51:12 2015 MANAGEMENT: >STATE:1428011472,RESOLVE,,,
        Thu Apr 02 23:51:12 2015 Attempting to establish TCP connection with [AF_INET]*********:443 [nonblock]
        Thu Apr 02 23:51:12 2015 MANAGEMENT: >STATE:1428011472,TCP_CONNECT,,,
        Thu Apr 02 23:51:13 2015 TCP connection established with [AF_INET]*********x:443
        Thu Apr 02 23:51:13 2015 TCPv4_CLIENT link local: [undef]
        Thu Apr 02 23:51:13 2015 TCPv4_CLIENT link remote: [AF_INET]*********:443
        Thu Apr 02 23:51:13 2015 MANAGEMENT: >STATE:1428011473,WAIT,,,
        Thu Apr 02 23:51:13 2015 MANAGEMENT: >STATE:1428011473,AUTH,,,
        Thu Apr 02 23:51:13 2015 TLS: Initial packet from [AF_INET]*********x:443, sid=b6be24fd 3afd589c
        Thu Apr 02 23:51:13 2015 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
        auth logs
        Thu Apr 02 23:51:14 2015 [astaro] Peer Connection Initiated with [AF_INET]***x:443
        Thu Apr 02 23:51:15 2015 MANAGEMENT: >STATE:1428011475,GET_CONFIG,,,
        Thu Apr 02 23:51:17 2015 SENT CONTROL [astaro]: 'PUSH_REQUEST' (status=1)
        Thu Apr 02 23:51:17 2015 PUSH: Received control message: 'PUSH_REPLY,register-dns,route 10.242.2.1,topology net30,ping 10,ping-restart 120,redirect-gateway def1,dhcp-option DNS 10.17.11.1,dhcp-option DNS 192.12.144.30,dhcp-option DOMAIN domain.local,ifconfig 10.242.2.6 10.242.2.5'
        Thu Apr 02 23:51:17 2015 OPTIONS IMPORT: timers and/or timeouts modified
        Thu Apr 02 23:51:17 2015 OPTIONS IMPORT: --ifconfig/up options modified
        Thu Apr 02 23:51:17 2015 OPTIONS IMPORT: route options modified
        Thu Apr 02 23:51:17 2015 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
        Thu Apr 02 23:51:17 2015 ROUTE_GATEWAY 192.12.144.254/255.255.255.0 I=11 HWADDR=00:50:56:a1:3c:c2
        Thu Apr 02 23:51:17 2015 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
        Thu Apr 02 23:51:17 2015 MANAGEMENT: >STATE:1428011477,ASSIGN_IP,,10.242.2.6,
        Thu Apr 02 23:51:17 2015 open_tun, tt->ipv6=0
        Thu Apr 02 23:51:17 2015 TAP-WIN32 device [Local Area Connection 2] opened: \.\Global\{15EC0C37-08E5-4F23-A877-7DFEE0560F7F}.tap
        Thu Apr 02 23:51:17 2015 TAP-Windows Driver Version 9.9
        Thu Apr 02 23:51:17 2015 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.242.2.6/255.255.255.252 on interface {15EC0C37-08E5-4F23-A877-7DFEE0560F7F} [DHCP-serv: 10.242.2.5, lease-time: 31536000]
        Thu Apr 02 23:51:17 2015 NOTE: FlushIpNetTable failed on interface [20] {15EC0C37-08E5-4F23-A877-7DFEE0560F7F} (status=5) : Access is denied.  
        Thu Apr 02 23:51:21 2015 TEST ROUTES: 3/3 succeeded len=2 ret=1 a=0 u/d=up
        Thu Apr 02 23:51:21 2015 C:\Windows\system32\route.exe ADD ext_ip MASK 255.255.255.255 192.12.144.254
        Thu Apr 02 23:51:21 2015 Route addition via service succeeded
        Thu Apr 02 23:51:21 2015 C:\Windows\system32\route.exe ADD 0.0.0.0 MASK 128.0.0.0 10.242.2.5
        Thu Apr 02 23:51:21 2015 Route addition via service succeeded
        Thu Apr 02 23:51:21 2015 C:\Windows\system32\route.exe ADD 128.0.0.0 MASK 128.0.0.0 10.242.2.5
        Thu Apr 02 23:51:21 2015 Route addition via service succeeded
        Thu Apr 02 23:51:21 2015 MANAGEMENT: >STATE:1428011481,ADD_ROUTES,,,
        Thu Apr 02 23:51:21 2015 C:\Windows\system32\route.exe ADD ext_ip MASK 255.255.255.255 192.12.144.254
        Thu Apr 02 23:51:21 2015 ROUTE: route addition failed using service: The object already exists.   [status=5010 if_index=11]
        Thu Apr 02 23:51:21 2015 Route addition via service failed
        Thu Apr 02 23:51:21 2015 C:\Windows\system32\route.exe ADD 10.242.2.1 MASK 255.255.255.255 10.242.2.5
        Thu Apr 02 23:51:21 2015 Route addition via service succeeded
        Thu Apr 02 23:51:21 2015 Initialization Sequence Completed
        Thu Apr 02 23:51:21 2015 MANAGEMENT: >STATE:1428011481,CONNECTED,SUCCESS,10.242.2.6,ext_ip
        Thu Apr 02 23:51:21 2015 Start net commands...
        Thu Apr 02 23:51:21 2015 C:\Windows\system32\net.exe stop dnscache
        System error 5 has occurred.
         
        Access is denied.
         
        Thu Apr 02 23:51:21 2015 ERROR: Windows ipconfig command failed: returned error code 2
        Thu Apr 02 23:51:21 2015 C:\Windows\system32\net.exe start dnscache
        The requested service has already been started.
         
        More help is available by typing NET HELPMSG 2182.
         
        Thu Apr 02 23:51:21 2015 ERROR: Windows ipconfig command failed: returned error code 2
        Thu Apr 02 23:51:21 2015 C:\Windows\system32\ipconfig.exe /flushdns
         
        Windows IP Configuration
         
        Successfully flushed the DNS Resolver Cache.
        Thu Apr 02 23:51:21 2015 C:\Windows\system32\ipconfig.exe /registerdns
        The requested operation requires elevation.

         
        Thu Apr 02 23:51:21 2015 ERROR: Windows ipconfig command failed: returned error code 1
        Thu Apr 02 23:51:21 2015 End net commands...



    Ok, 1 route add failed because connecting from intern network to intern network, so expected. But why is C:\Windows\system32\net.exe stop dnscache failed? 

    OpenVPN Interactive Service is running,
    OpenVPN Service is not running and startup setting is "manual".
Children
No Data