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

How to access a LAN behind WireGuard using domain names?

Scheduled Pinned Locked Moved WireGuard
4 Posts 2 Posters 877 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
    Padraic71
    last edited by Feb 16, 2022, 7:11 PM

    ((I also asked this Q on Reddit!))
    I have a working WireGuard system set up on an RPi4 with two remote "clients". From a client, say my phone, I can access a device on my LAN via the WG tunnel. Great!

    However, I can only do so by entering the device IP, not its domain name. Not great. (Peculiarity: I can use the domain name if I Ping the device, but not when using a browser!)

    I have the usual iptables set up to forward. I also have dnsmasq set up on the RPi to provide a DNS for the LAN via eth1. This all seems to work ok. (I use a static IP for the LAN device.)

    Since everything works except using the domain name, I would guess (hope) I'm just missing something at the overall level and not some network details. Possible? Any ideas will be appreciated. (I have not burdened you with details, but they can certainly be provided as needed!) Thanks!

    K 1 Reply Last reply Feb 16, 2022, 7:42 PM Reply Quote 0
    • K
      KOM @Padraic71
      last edited by Feb 16, 2022, 7:42 PM

      @padraic71 What does all this have to do with pfSense?

      P 1 Reply Last reply Feb 16, 2022, 7:56 PM Reply Quote 0
      • P
        Padraic71 @KOM
        last edited by Feb 16, 2022, 7:56 PM

        @kom Hmm. There were all these Q's about Wireguard, so I thought it appropriate. If not, my apologies...

        K 1 Reply Last reply Feb 16, 2022, 9:26 PM Reply Quote 0
        • K
          KOM @Padraic71
          last edited by Feb 16, 2022, 9:26 PM

          @padraic71 Yes, Wireguard running on pfSense. This is a pfSense support forum. We can't help you with Wireguard problems on your Raspberry Pi.

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