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

DNS wont resolve from IPsec pfsense router

Scheduled Pinned Locked Moved IPsec
4 Posts 2 Posters 584 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.
  • E
    elamigosam2
    last edited by May 20, 2021, 7:55 PM

    I have one main office then a small office connected though ipsec

    Main Office:
    Under Diagnostics / DNS Lookup I can resolve the SO-BarPc from main and small offices,
    I can ping the SmallOffice Router
    I can ping the SO-BarPc (Small Office)

    Small office:
    I have DNS Query Forwarder enabled, under DNS Resolver.
    I have my AD server as a DNS server setup under General setup.

    Under Diagnostics / DNS Lookup I cannot resolve the SO-BarPc (Small Office pc) dns name
    Under Diagnostics / Ping: Source Address: LAN, I can ping the DNS Server though the IpSec tunnel.
    I can Ping from SO-BarPc (Small Office) to DNS server

    This are my firewall rules on Small Office pfsense:

    5488039e-13dc-4b2f-b7b8-f40b73efb68c-image.png
    I am not sure what the "No Rules are currently defined..." message is about, everything is working ok.

    78b0a17c-bcd7-4db8-994d-330643f4c562-image.png

    747a1b8d-2466-4760-9b11-45e93989cde2-image.png

    Thanks

    E 1 Reply Last reply May 21, 2021, 5:58 PM Reply Quote 0
    • E
      elamigosam2 @elamigosam2
      last edited by May 21, 2021, 5:58 PM

      @elamigosam2
      I figure out the problem, when I originally setup the ip sec tunnel, I didnt setup the static routes to the main office.
      thats why my pfsense device was not able to communicate with a remote device.

      M 1 Reply Last reply May 25, 2021, 7:01 AM Reply Quote 0
      • M
        milew @elamigosam2
        last edited by May 25, 2021, 7:01 AM

        @elamigosam2 Could you please enter what gate and route you entered?

        E 1 Reply Last reply May 26, 2021, 11:36 PM Reply Quote 0
        • E
          elamigosam2 @milew
          last edited by May 26, 2021, 11:36 PM

          @milew
          I had to add a gateway first, to the other router, then entered a route to the other network

          gateway:
          Interface: LAN
          Gateway: Local Router IP 192.168.3.1

          Static Route:
          Network: 192.168.2.0/24
          Gateway: 192.168.3.1
          Interface: LAN
          This is based on my network setup, your network might be different.

          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