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

IPSEC with multiple subnets

Scheduled Pinned Locked Moved IPsec
3 Posts 3 Posters 3.2k 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
    brcisna
    last edited by Sep 19, 2011, 11:57 AM

    Hello All,

    pfSense 1.2.3 FinalRelease  X 2

    Trying to get a handle on why on my site to site IPSEC tunnel,,I can ping all devices on the default 172.28.8.x subnet,at Site A ,,but devices that have static routes via pfSense box,,,can not be pinged from Site B.

    Setup
    Site A

    Subnet(s):
    172.28.8.x
    172.28.10.x
    172.28.12.x
    172.28.14.x

    Site B
    192.168.1.x

    From Site B any device on 172.28.8.x subnet ,( at Site A) can be pinged,,,but devices on any of the other three subnets can not be pinged,,,accessed.
    I have tried using Wireshark,,but simply can not see were the packet(s) go to,,that fails on the failing subnets.

    I am attaching the static route setup on Site A pfSense box.
    It seems that as the devices are accessible on the LAN the static route table should feed out to the other subnets through the IPSEC setup as well?

    Thank You,
    Barry

    siteA-staticroute.png
    siteA-staticroute.png_thumb

    1 Reply Last reply Reply Quote 0
    • J
      jason0
      last edited by Sep 21, 2011, 3:37 PM

      Hi There!

      The book has an answer, but it's not one I have tested, so take my advice with a grain of salt.

      Section 13.4.3 talks about routing multiple subnets over ipsec.  In version 1.2.x, you are pretty much limited to building additional ipsec tunnels in parallel between the two sites for the different subnets.  In fact, there is a separate note saying that routing will have no effect at all on where the packets actually go, except for packets originating from the pfsense router itself.

      The book also says that pfsense 2.x should be able to have multiple subnets specified within an ipsec tunnel.

      –jason

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Sep 26, 2011, 3:33 PM

        You need multiple phase 2's for each possible combination, such as:

        Client -> Server LAN
        Client -> Server Static Route Net 1
        Client -> Server Static Route Net 2
        Client -> Server Static Route Net 3
        […]

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received