Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    IPSec Phase 2 Allowing Wrong Subnets?

    Scheduled Pinned Locked Moved IPsec
    1 Posts 1 Posters 585 Views 1 Watching
    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.
    • planedropP
      planedrop
      last edited by

      I think the best way to explain this is to say exactly what happened, as I feel I'm misunderstanding something about how Phase 2 is setup.

      Site to Site VPN
      Phase 2 entries for Site A:
      192.168.10.0/24 to 192.168.20.0/24 and 192.168.25.0/24
      192.168.100.0/24 to 192.168.20.0/24

      Site B:
      192.168.20.0/24 to 192.168.10.0/24
      192.168.25.0/24 to 192.168.10.0/24 and 192.168.100.0/24

      Now what I'm confused about here is that I made a mistake, but things still worked when they should not have. With this config I was somehow able to access the 192.168.25.0/24 network FROM the 192.168.100.0/24 network, in theory this should not have been possible. I accidentally typed in the wrong subnet when setting this up, the firewall rules are correct on both sides.

      But with this config, pfsense never should have known to route the 192.168.100.0/24 networks traffic over to 192.168.25.0/24 on the other site, there was never a phase 2 made for that.

      Is it combining phase 2s? And if so is that standard practice? Seems very odd to me. What am I misunderstanding?

      1 Reply Last reply
      Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post
      Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
      Privacy Policy · Cookie Policy