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

    Sending firewall-originated traffic via IPSEC VPN?

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 254 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.
    • S
      sporkme
      last edited by

      I'm using Let's Encrypt on my pfsense box for it's own hostname and a few things that are behind HAProxy on the same firewall.

      The master DNS server I need to make updates to only has an internal IP and that IP is reached via an IPSEC VPN that connects to another location.

      The IPSEC tunnel has been working fine for years and all the LAN traffic that needs to traverse it is fine. But when LE tries to run an nsupdate against this internal DNS server on the other end of the tunnel, it fails, as it seems firewall-originated traffic does not hit the VPN, but just goes out via the default route.

      What's the best way to fix this? A route? NAT rule? Both? Neither?

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        If it's a policy based IPSec tunnel the only workaround I'm aware of is adding a static route via the LAN:
        https://docs.netgate.com/pfsense/en/latest/vpn/ipsec/access-firewall-over-ipsec.html#static-route-workaround

        Steve

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