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

Hostnames not working with OpenVPN & Pi-Hole

Scheduled Pinned Locked Moved OpenVPN
5 Posts 2 Posters 190 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.
  • P
    Protos
    last edited by May 6, 2024, 10:33 PM

    I've been trying every suggestion I can find regarding this issue. However, I've had zero luck.
    I use Pi-Hole with PFSense and I wonder if that is a possible cause for my issue.
    I just want to be able to type a computer's name rather than it's IP address.
    I am not sure what other information I need to put here so please ask any questions regarding my issue that will lead us in the right direction.

    Here's some basic info:
    Home IP Address Subnet: 192.168.0.0/24
    VPN IP Address Subnet: 10.10.0.0/24
    Pi-Hole DNS Server: 192.168.0.167
    I've set this IP as the Default DNS Server for PFSense and the OpenVPN Server.

    J 1 Reply Last reply May 6, 2024, 10:43 PM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @Protos
      last edited by May 6, 2024, 10:43 PM

      @Protos can you ping the IP address of your pihole when your on vpn? pihole pretty sure out of the box only answers dns for the local network its attached too.. So no it wouldn't answer some 10.10.0.x address (your vpn client)

      pihole.jpg

      What you don't say in that info is what you set the vpn client to use for dns?

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

      P 1 Reply Last reply May 6, 2024, 11:02 PM Reply Quote 0
      • P
        Protos @johnpoz
        last edited by May 6, 2024, 11:02 PM

        @johnpoz Regardless of what "Interface settings" is set to, I can ping it and access it. But I have to set it to "Permit all origins" in order for me to be able to actually utilize it on a VPN Client

        J 1 Reply Last reply May 6, 2024, 11:28 PM Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator @Protos
          last edited by May 6, 2024, 11:28 PM

          @Protos shouldn't have to do that.. I use my pi from all other devices on my network, multiple vlans.. And can query it from my vpn client.

          Does your pihole have multiple interfaces?

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

          P 1 Reply Last reply May 6, 2024, 11:51 PM Reply Quote 0
          • P
            Protos @johnpoz
            last edited by May 6, 2024, 11:51 PM

            @johnpoz It definitely shouldn't. I never configured it to. It looks like I can select any option in "Potentially Dangerous" without it no longer working. But once I select "Allow only local requests" I can no longer reach the internet. Just my local resources.

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