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

    OpenVPN error

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 2 Posters 5.5k 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.
    • S Offline
      scolland
      last edited by

      Hi all,

      I'm relatively new to pfSense, but enjoying setting it up.

      I'm trying to get OpenVPN running using RADIUS from our DC (Windows Server 2008). I have followed a set by step guide from: https://doc.pfsense.org/index.php/OpenVPN_with_RADIUS_via_Active_Directory

      I am setting it up on my iPhone initially as I am within the network on everything else in order to config.

      I am using pfSense 2.1.2.

      When I try to connect, the log says:
      Transport Error: DNS resolve error on 'pfsense.mydomain' for UDP session: Host not found (authoritative)

      I appreciate I'm not giving much information here, but I don't know what information is required, is anyone able to assist please?

      Thanks

      1 Reply Last reply Reply Quote 0
      • V Offline
        viragomann
        last edited by

        Use the IP address instead of the hostname for remote host in the client config or add the hostname to your DNS.

        1 Reply Last reply Reply Quote 0
        • S Offline
          scolland
          last edited by

          Thanks, I have it connected via the IP address, but I can't access anything on the LAN.

          I have the tunnel network set to: 192.168.2.0/24
          The LAN is: 192.168.0.0/24
          And I have set local networks to: 192.168.0.0/24

          Any suggestions please?

          1 Reply Last reply Reply Quote 0
          • V Offline
            viragomann
            last edited by

            Have you set up an appropriate rule to allow access?
            Firewall > Rules > OpenVPN tab

            If you have you should find out if it's a routing issue or if access is blocked due to missing firewall permissions.

            1 Reply Last reply Reply Quote 0
            • S Offline
              scolland
              last edited by

              Thanks! - Don't know how I missed that.

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