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

No local DNS when connected to SSL VPN

From my Android phone using openvpn and the ovpn config from my Sophos box, I can connect to my network.

I can get to my servers from using their IP, but I cannot get hostnames to resolve.

In System > Administration I have DNS turned on for VPN

10.0.0.1 is my sophos box and also how my LAN uses for gateway.

Sophos is my DHCP server.

I have a DNS server on 10.0.0.4 that is a raspberry pi running pi-hole.  It is configured to pass local name resolution to the sophos box.

My VPN Settings:




Any idea what I am doing wrong?



Edited TAGs
[edited by: emmosophos at 7:35 PM (GMT -7) on 5 Sep 2024]
  • Just a crazy idea, but have you tried another VPN client? I've used OpenVPN client for years now, and a while back (v20?) I could no longer get DNS. I wasn't using it for a while, but got back to it recently (v21 beta, maybe v20) and tried using the Tunnelblick client (on a Mac) and suddently DNS works. Same ovpn file, same everything on the firewall, but now it works. I wonder if the OpenVPN client has a bug -- at least in terms of using an older ovpn file.

  • Rule 16 looks good.
    .. but no hits ... :-(

    You may use a DNS-test-Tool at your Phone, or connect a windows-device and use nslookup.

    Check firewall log again, if you see traffic from VPN-network and Port 53.

    Which Browser do you use ... possible the browser use its own DNS

    Sophos firewall is the gateway for all devices in your network (pihole to?)


    Dirk

    Systema Gesellschaft für angewandte Datentechnik mbH  // Sophos Platinum Partner
    Sophos Solution Partner since 2003
    If a post solves your question, click the 'Verify Answer' link at this post.