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

Wireguard DNS Resolution Issue

Scheduled Pinned Locked Moved WireGuard
1 Posts 1 Posters 104 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
    mattsyd7
    last edited by mattsyd7 Mar 28, 2025, 3:23 AM Mar 28, 2025, 2:47 AM

    After searching for solutions online and here, I need assistance.
    Pretty new to Pf Sense.

    I used this guide to setup:
    https://docs.netgate.com/pfsense/en/latest/recipes/wireguard-ra.html

    I've setup a WG tunnel, can connect to LAN on the other side as a peer.
    Needing to multiple peers to login (perhaps 2-3 at once) to server via RDP, (achieved) and resolve DNS on peer side, (not done).
    The server handles DHCP, Pf Sense is a DHCP relay.

    Have tried no DNS as well as DNS= 192.168.1.3, 1.1.1.1 and just 1.1.1.1 in my WG peer config on the WG Windows app.

    Here's the config:
    [Interface]
    PrivateKey = ***
    ListenPort = 51820
    Address = 192.168.80.2/32
    [Peer]
    PublicKey = ***
    AllowedIPs = 0.0.0.0/1, 128.0.0.0/1
    Endpoint = ..***:51820
    PersistentKeepalive = 25

    Setup on other side is as follows.

    1. Netgate 1100 23.05.1 (arm64)
    2. On premises Windows server, dns is on 192.168.1.3 on site.
    3. Server is on 192.168.1.2
    4. Router in on 192.168.1.1
    5. Have allowed ports 53 for DNS and RDP 3389 too.
    6. In peer config on router, have allows DNS server's IP.

    It didn't include adding WG to Interface>Assignments as a 3rd party guide I read suggested.

    Should Static DHCP be ticked (Register DHCP static mappings in the DNS Resolver) in DNS Resolver> General Settings?

    Not familiar with windows server, ( can do the basics) was setup before my time).

    1 Reply Last reply Reply Quote 0
    • M mattsyd7 referenced this topic on Mar 28, 2025, 3:05 AM
    1 out of 1
    • First post
      1/1
      Last post
    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
      This community forum collects and processes your personal information.
      consent.not_received