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

    IPSec, NAT in enc0 results to one SA more

    Scheduled Pinned Locked Moved IPsec
    1 Posts 1 Posters 209 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.
    • A
      arr0
      last edited by

      Hello,

      i am using ipsec-inside NAT like this:

      negotiated ipsec parameters network IDs:
      source: 10.166.255.0/24
      destination: 10.166.0.0/24

      source: 172.16.0.0/12
      NAT source-to: 10.166.255.1
      destination: 10.166.0.0/24

      source: 172.20.131.71
      NAT source-to: 10.166.255.71
      destination: 10.166.0.0/24

      results to the following ipsec running:

       con3000:   child:  10.166.255.71/32|172.20.131.71/32 === 10.166.0.0/24|/0 TUNNEL, dpdaction=restart
       con3004:   child:  10.166.255.1/32|172.16.0.0/12 === 10.166.0.0/24|/0 TUNNEL, dpdaction=restart
       con3004{10866}:   10.166.255.1/32|172.16.0.0/12 === 10.166.0.0/24|/0
       con3000{10862}:   10.166.255.71/32|172.20.131.71/32 === 10.166.0.0/24|/0
      

      but i experiences that a lot of remote endpoints do not like that inside a negotiated phase2 there comes more than one phase2 SA connection, so that i can only run either the one or the other phase2 SA but not both at same time

      another ipsec vendors are able to setup NAT in conjunction with the ipsec, so i can NAT into an established phase2-SA and not with an additional phase2

      it would be the very best if there is a solution based on NATs into only one phase2-SA in pfsense

      Best Regards
      Arndt Reimers

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