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

    Traffic originated by Firewall itself cannot enter IPSEC tunnel

    Scheduled Pinned Locked Moved IPsec
    2 Posts 1 Posters 347 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.
    • O
      omber
      last edited by

      I have an IPSEC tunnel between my site and vendor site. Vendor side is Cisco ASA.

      Normal traffic flows correctly between encryption domains. It is worth noting that I am using PAT on my side of tunnel to hide all source IPs behind one address.

      I now need to setup my pfSense DNS Resolver to query Vendor side internal DNS server. I have configured this but in debugging I discovered that the Firewall itself cannot reach systems inside remote encryption domain. Using nslookup I can query the server from my laptop which resides in my encryption domain:

      omber@OMBER-LAPTOP:~$ nslookup pve1.vendordomain.lan 172.17.12.18
      Server:         172.17.12.18
      Address:        172.17.12.18#53
      
      Name:   pve1.vendordomain.lan
      Address: 172.17.12.6
      

      However I cannot complete the same query directly from the pfSense firewall:

      [2.4.4-RELEASE][lukasz@gw.mydomain.local]/home/lukasz: nslookup pve1.vendordomain.lan 172.17.12.18
      ;; connection timed out; no servers could be reached
      

      Here mydomain and vendordomain are replacements for real values to keep anonymity.

      I recall this being some issue with the kernel and that it doesn't understand how to origin requests like these. Is there a solution?

      O 1 Reply Last reply Reply Quote 0
      • O
        omber @omber
        last edited by

        Here is the answer: https://docs.netgate.com/pfsense/en/latest/vpn/ipsec/accessing-firewall-services-over-ipsec-vpns.html

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.