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

    IPSec: NAT for every local Subnet?

    Scheduled Pinned Locked Moved IPsec
    2 Posts 2 Posters 638 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.
    • J
      jme
      last edited by

      Hi,

      we plan to change from OpenBSD to Pfsense. We have

      6x Local Subnets (like 192.168.x.x/24)
      10x IPSec Phase 1
      18x IPSec Phase 2 (like 10.200.0.0/16, 192.168.x.x/24)

      NAT Network 192.168.136.0/24

      I was testing the IPSec Connections on PfSense, but did I realy setup one Phase2 for every local Subnet for NAT?

      On OpenBSD we have a loopback Interface for NAT.

      "localnetwork>NAT_loopback_Interface>Tunnel>remote Network"
      "192.168.x.x>192.168.136.1>ESP>10.200.0.0/16"

      But did not find any Option for creating loopback Interface on PFsense.

      Or is there a easy way for NAT from multiple local Subnet into IPSec Tunnels?

      I don`t want to have like over 100 Phase2 Tunnels.

      Thanks a lot.

      1 Reply Last reply Reply Quote 0
      • E
        eri--
        last edited by

        You can specify the NAT translation on the phase2 settings page.
        It is clearly marked as NAT segment translate.

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