Navigation

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

    DNS wont resolve from IPsec pfsense router

    IPsec
    2
    4
    189
    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

      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 Reply Quote 0
      • E
        elamigosam2 @elamigosam2 last edited by

        @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 Reply Quote 0
        • M
          milew @elamigosam2 last edited by

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

          E 1 Reply Last reply Reply Quote 0
          • E
            elamigosam2 @milew last edited by

            @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
            • First post
              Last post