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

Sophos Connect vs DNS

So i finished all the instructions as posted on page https://community.sophos.com/kb/en-us/133109

Downloaded the client and exported the configuration. Set up the client and finally made a connection.

So far so good. Can ping hosts on the internal network by ip adress, however i can't seem to reach hosts by their name.

I did enter the ip of the DNS server but somehow hosts aren't being resolved.

 

Any thoughts or pointers on this.

 

Thnx, Peter-Paul



This thread was automatically locked due to age.
Parents
  • Observed the same issue with my installation.

    Already reported this issue to the dev Team. They could reproduce it and will fix it in the next version. (ETA should be next week)

    __________________________________________________________________________________________________________________

  • This is an issue by not putting a Connection DNS Suffix onto the connection. You can do a temporary workaround for now by configuring GPO to deploy the primary DNS Suffix of your domain.


    This GPO element can be found in Computer Settings > Policies > Administrative Templates > Network > DNS Client > Primary DNS Suffix.


    This will help in many areas :)

    Emile

  • Thanks for your feedback! 

     

    We fixed this issue in the current Sophos Connect Client.

    This client should be published via Up2Date. 

    Check out the current version:

    1.0.004

    __________________________________________________________________________________________________________________

  • Hello,

    Not sure if this is related to my issue but does not seem to have fixed DNS issues.

  • I'm having the exact same issue. The update didn't resolve it. It works fine with SSL VPN.

    When connected with the Sophos Connect Client, none of my domain resources work, like mapped drives and printers. I can log out of Sophos Connect and log in with SSL VPN and everything starts working.

     

    There is still something wrong with the client or there is something wrong with the configuration being pushed to the client from the firewall.

  • Second this, still not working for me, SSL VPN works great.

    Ended up uninstalling the Sophos Connect client. Will wait until there is somebody confirming correct functioning.

     
    SFVH (SFOS 20.0.0 GA-Build222) - Last (re)boot on November 6th  2023
    Asus H410i-plus - Pentium 6605 Gold - 250GB M.2 PCIe NVMe SSD - 8GB - 3 ports
    [If any of my posts are helpful to you please use the 'Verify Answer' link]
  • I can work perfectly fine with the Connect client V1.2 

     

    Can you post some logs and screenshots of this issue? 

    __________________________________________________________________________________________________________________

  • Hello Leet,

     

    Can you please list the steps on what the settings are to make it work on SSL VPN. I would like to see why it is not working with Sophos Connect.

     

    Thank you,

    Ramesh

Reply Children
  • Unknown said:

    Hello Leet,

     

    Can you please list the steps on what the settings are to make it work on SSL VPN. I would like to see why it is not working with Sophos Connect.

     

    Thank you,

    Ramesh

     

    I haven't had a single minute to try and diagnose this further yet and I'm not comfortable posting the logs publicly with company info in them.

     

    SSL VPN works with nearly the exact same settings as Sophos Connect.

     

    Neither work for domain resources initially. When I try to go to \\server.domain.local it doesn't work. None of my network drives can connect either.

     

    HOWEVER, on the SSL VPN, On the XG admin webpage, I have to go to "Show VPN Settings" >>> "SSL VPN" and specify "Domain Name" as "domain.local"

     

    After doing that, SSL VPN works for domain resources, however, Sophos Connect does not and doesn't have a setting for me to specify a domain.

  • Thank you Leet for this information. Have you tried out the suggestion from Emile? Please let us if that works.

     

    Ramesh

  • What is the correct way to handle dns suffix search in Sophos Connect vpn for users to reach internal systems by hostname on their own personal devices we can't touch with gpo without manually adding internal domains to dns suffix search list?

  • Hello Momentum,

     

    In the Sophos Connect Client policy you configure on XG, you will assign the DNS server 1 and DNS server 2 (if available). After the tunnel is established, all hostname look ups will be sent down the tunnel and the internal DNS server should resolve the internal systems by hostname.

     

    Please let us know if this works for you.

    Ramesh

  • Hi Ramesh

    Configuring the DNS servers is only part of the requirements for friendly name resolution. You also need to be able to configure the DNS suffix (or better, a list of suffixes) for the connection. Configuring the suffix list to include "example.com" allows someone to connect to the server "server01.example.com" using just the short name server01. The configured DNS suffix is automatically added to the end of the name if the name is incomplete.

    Most VPNs do this automatically - but the lack of documentation on the TGB and SCX file formats means we can't reverse-engineer it easily, and it's not exposed in the firewall or admin UIs.

    It's also worth noting that at least for me, I had to manually create a firewall rule to permit communication from the VPN to the internal networks - it wasn't automatically provisioned when I completed the Sophos Connect configuration on the firewall.

  • rmk_2018 said:

    Hello Momentum,

     

    In the Sophos Connect Client policy you configure on XG, you will assign the DNS server 1 and DNS server 2 (if available). After the tunnel is established, all hostname look ups will be sent down the tunnel and the internal DNS server should resolve the internal systems by hostname.

     

    Please let us know if this works for you.

    Ramesh

     

     

    Not getting good results for dns lookups on a Win10 version 1803 build 17134.706 client I'm testing with XG210_WP03_SFOS 17.5.4 MR-4-1 and sophos connect client xg pattern 1.2.001 windows application version 1.2.5.0202. With Sophos Connect successfully connected all dns lookups end up going to the local ethernet adapter's dns server instead of of the xg tunnel dns server.  The result is that lookups for hosts on the internal company domain are being sent out to the wrong public dns server and resolve incorrectly.  nslookup queries without manually specifying the internal xg dns server go to the physical ethernet adapter's dns server.  The xg internal dns server ip specified in the sophos connect config xg page is reachable over the vpn, pings, and If I manually specify that ip in an nslookup query it does return the expected result for internal hostnames or fqdn's resolving to the internal ip's.  Disabling ipv6 on the client's ethernet adapter + sophos tap adapter and also adding the internal domain name as either the sophos tap connection specific dns suffix or the dns suffix search list have been tried with no change.  We are using split tunnel in the scx config with internal subnets defined.  Wireless adapter is disabled on the client.  What's the client's logic for how internal dns lookups should be routed?

     

     Windows IP Configuration
       Host Name . . . . . . . . . . . . : ABCD-1234
       Primary Dns Suffix  . . . . . . . : mydomain1.com
       Node Type . . . . . . . . . . . . : Hybrid
       IP Routing Enabled. . . . . . . . : Yes
       WINS Proxy Enabled. . . . . . . . : No
       DNS Suffix Search List. . . . . . : mydomain1.com
                                           mydomain2.com


    Ethernet adapter Ethernet:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Intel(R) Ethernet Connection (2) I219-LM
       Physical Address. . . . . . . . . : 84-****
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
       IPv4 Address. . . . . . . . . . . : 10.0.0.188(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Lease Obtained. . . . . . . . . . : Wednesday, April 24, 2019 11:02:30 AM
       Lease Expires . . . . . . . . . . : Thursday, April 25, 2019 11:54:04 AM
       Default Gateway . . . . . . . . . : 10.0.0.1
       DHCP Server . . . . . . . . . . . : 10.0.0.1
       DNS Servers . . . . . . . . . . . : 10.0.0.1
       NetBIOS over Tcpip. . . . . . . . : Enabled

    Ethernet adapter Ethernet 3:
       Connection-specific DNS Suffix  . : mydomain2.com
       Description . . . . . . . . . . . : Sophos TAP Adapter
       Physical Address. . . . . . . . . : 00-FF-F7-11-F6-B0
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
       IPv4 Address. . . . . . . . . . . : 192.168.99.2(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.255
       Default Gateway . . . . . . . . . :
       DNS Servers . . . . . . . . . . . : 192.168.200.1
       NetBIOS over Tcpip. . . . . . . . : Enabled

     

     

    scx file:

    {
        "name":    "TEST1",
        "managed":    false,
        "version":    1,
        "gateway":    "something.mydomain.com",
        "vip":    "0.0.0.0",
        "auto_connect":    {
            "required":    false,
            "enabled":    false
        },
        "proposals":    "aes256-sha2_256-modp1024",
        "dpd_delay":    60,
        "rekey_time":    15300,
        "start_action":    "none",
        "local_auth":    {
            "psk":    {
                "id":    "0.0.0.0"
            },
            "xauth":    {
                "can_save":    false
            },
            "otp":    true
        },
        "remote_auth":    {
            "psk":    {
                "id":    "%any",
                "secret":    "******************"
            },
            "otp":    false
        },
        "child":    {
            "rekey_time":    3060,
            "remote_ts":    [
                "*********************"
            ]
        }
    }

  • Hello Momentum,

     

    When you enter nslookup on your dos command window what is the DNS server it is using? Is that the correct DNS server as assigned in the Policy? Then when you do a lookup for an internal host name (note you have specify the FQDN for the hostname) are you getting back a response?

     

    Please let us know.

    Ramesh

  • fyi - edited my post before this one prior to seeing your response to include some more details.

    with debug enabled in nslookup it's verified that it's sending all lookups to the 10.0.0.1 dhcp allocated dns server on the physical ethernet adapter rather than the ip of the dns server from the Sophos Connect configuration.  internal servers can still be pinged or accessed fine across the vpn by ip.   Internal hosts resolve ok by nslookup internalhostname (xg lan interfacea ip address here) or nslookup internalhostname.mydomain2.com (xg lan interface ip address here).   The same xg lan interface ip is specified in the vpn >> Sophos Connect configuration xg page.

  • partially answering my own question:  I found that manually setting a metric of 10 on the Sophos TAP adapter (Ethernet 3 in the ipconfig shown above) solves or works around this issue on Windows 10.  Dns lookups then go to the internal dns server specified in the sophos connect policy and are resolving correctly.  This approach was based on https://www.petenetlive.com/KB/Article/0001402

     

    before:

    C:\>netstat -rn
    ===========================================================================
    Interface List
      6...***** ......Intel(R) Ethernet Connection (2) I219-LM
     12...00 ff f7 11 f6 b0 ......Sophos TAP Adapter
      1...........................Software Loopback Interface 1
    ===========================================================================

     

    after:

    C:\>netstat -rn
    ===========================================================================
    Interface List
     12...00 ff f7 11 f6 b0 ......Sophos TAP Adapter
      6...****** ......Intel(R) Ethernet Connection (2) I219-LM
      1...........................Software Loopback Interface 1
    ===========================================================================

  • I have been following this thread for a while as I've had the same issue and not much time to investigate myself. After a few hours of trying to get it to work, I setup SSL VPN again and have been using it ever since.

     

    Upon changing the Metric as you stated, it does fix the issue. I'm not sure it counts as a permanent fix as I believe the client should be doing this automatically just like the SSL VPN Client.