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

OpenVPN client can't resolve hostname, DNS query denied

Scheduled Pinned Locked Moved OpenVPN
2 Posts 2 Posters 1.1k 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.
  • M
    masterniu
    last edited by Mar 24, 2019, 12:17 AM

    Hi Guys,
    I recently setup a pfSense firewall and everything is working fine. I enabled the OpenVPN last night and client can connect.
    Only issue is that client computer (windows 10) can access the Lan resourse via IP but not Hostname.
    I am using the Local pfSense IP address as the DNS for remote client. Anything missing?

    Thnaks!

    1 Reply Last reply Reply Quote 0
    • R
      Rico LAYER 8 Rebel Alliance
      last edited by Rico Mar 24, 2019, 8:41 AM Mar 24, 2019, 8:30 AM

      In the OpenVPN RAS Advanced Client Settings push your pfSense IP as DNS again together with Force DNS cache update:
      pfSense_Push-OpenVPN-DNS-Server.png

      You also need a Firewall Rule for the OpenVPN Client to reach pfSense DNS. For testing best practice is to put some any-any Rule in the OpenVPN Firewall tab. Once you have everything working tighten your Rules.

      -Rico

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received