Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    VPN works, but can only access hosts through IP. Hostname does not resolve

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 1 Posters 377 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      KenGeo
      last edited by

      I've have Open VPN setup on 2.3.4.  I have an AD DNS server set as primary under General setup and OPENvpn

      On Client
      Opens up fine, I can ping any IP, but I cannot ping hostnames.

      IPconfig /all shows the correct DNS server

      Lan 192.168.1.168/24
      VPN Tunnel 10.0.0.0/24

      OpenVPN
      Protocol UDP
      port 1194
      Redirect Gateway on
      DNS points to AD DNS Server 192.168.1.4

      Firewall
      WAN any to any port 1194
      OPENVPN any to any

      any ideas?

      1 Reply Last reply Reply Quote 0
      • K
        KenGeo
        last edited by

        What worked:

        It was the DNS suffix:
        On a computer on a domain, I needed to ipconfig /all, and under "Connection-specific DNS Suffix" it showed local.domainname.com

        Thats what needs to be under "DNS Default Domain" under VPN -> OpenVPN -> Servers -> edit

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.