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

Host override and OpenVPN

Scheduled Pinned Locked Moved DHCP and DNS
3 Posts 2 Posters 279 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.
  • Z
    zaitz
    last edited by Dec 14, 2023, 1:51 PM

    Hello,

    I am lost in DNS confusion.
    I have two OpenVPN servers. 1. site-to-site and 2. Remote access. My remote users can reach the IP's on the site to site tunnel end's. Now for convenience I wanted to add host overrides, so they can be browsed by DNS name. The host overrides work from my server lan, but not for users connected via VPN. What is needed to get them to resolve from the VPN users end?

    V 1 Reply Last reply Dec 14, 2023, 7:32 PM Reply Quote 0
    • V
      viragomann @zaitz
      last edited by Dec 14, 2023, 7:32 PM

      @zaitz
      You have to enter your DNS server in the OpenVPN server settings to push it to the clients. E.g. the OpenVPN server IP, the first usable in the tunnel subnet.

      Also you probably have to add the VPN tunnel network to the Resolver ACLs in Services > DNS Resolver > Access Lists.

      However, note that not all clients apply the pushed DHCP setting from the VPN server.

      Z 1 Reply Last reply Dec 20, 2023, 2:41 PM Reply Quote 1
      • Z
        zaitz @viragomann
        last edited by Dec 20, 2023, 2:41 PM

        @viragomann Thanks, this seems to have done it! Couldn't figure out that the first IP in the OpenVPN servers subnet is the actually the Pfsenses Resolver.

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