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

    Route all traffic through IPSec

    Scheduled Pinned Locked Moved IPsec
    2 Posts 1 Posters 295 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.
    • B
      billsecond
      last edited by

      After successfully setting up an IPSec tunnel from my Site B to Site A (Site A being my primary site, B is remote), I also set up 0.0.0.0/0 in P2.
      All of the internal traffic works really well! In fact, the VPN is very solid!
      But External traffic does not push through. For example, if I ping 8.8.8.8 it fails.
      I do a packet capture on both sites using ipsec as the interface.
      • On Site B I see the traffic transmitting to IPSec
      • On site A I see the traffic coming in from IPSec
      But on Site A, switch the interface to my outbound interface, but I do not see the traffic when captured.
      I do have Firewall Rules set up on both sides to allow all IPSec traffic
      I also set up an Outbound NAT rule for this traffic.

      Here is my IPSec status on Site B
      40174325-a012-462e-8864-95a29fa7177c-image.png

      Here is my outbound nat on site A
      9962083b-c026-475b-b670-56aebc6f5785-image.png

      What am I missing?

      1 Reply Last reply Reply Quote 0
      • B
        billsecond
        last edited by

        I figured it out! Because of the way that my gateways are configured, I had to set up a firewall rule for Site B's subnet on Site A's router under IPSec that has a gateway that is the same as my outbound NAT.

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