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

    Need to NAT between two IPSEC tunnels

    Scheduled Pinned Locked Moved NAT
    2 Posts 1 Posters 388 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.
    • M
      MarioG
      last edited by

      I had this working on an the old router using SNAT to translate an IPSEC A range to a pool of lan addresses only when connecting to IPSEC B. I read the book (gold) and still cannot get this to work:

      Lan access to both IPSEC A and B are via WAN:
      Remote IPSEC A connects as 10.10.2.x to lan 10.10.1.x - All this works fine. These are smartphones.
      Remote IPSEC B is 10.100.200.0, connected from lan 10.10.1.x - Also works fine, this is a site to site.

      I need to get the IPSEC A 10.10.2.x to connect to IPSEC B and appear as the lan 10.10.1.200-203 range without changing anything on the remote site.

      I tried: Adding a phase 2 to IPSEC B and using binat; 1:1; virtual IPs, and many other things I found on the web that I probably setup wrong. I am on pfsense 2.4.1. Can someone please point me in the right direction?

      1 Reply Last reply Reply Quote 0
      • M
        MarioG
        last edited by

        For future folks that make the same mistake I found the problem: When trying manual outbound NAT I had setup a virtual IP of 10.10.1.200 but had the interface set to LAN instead of localhost. Once I changed the VIP interface to localhost it worked fine. Hope this helps someone in the future.

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