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

    NAT destination into IPsec VPN

    Scheduled Pinned Locked Moved NAT
    4 Posts 2 Posters 2.3k 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.
    • D
      Deepmind14
      last edited by

      Hi,

      I'm used to other firewall vendors (CheckPoint, WatchGuard) and this is the first time I use PFSense because we want to implement it on AWS.

      I have one main site with a CheckPoint firewall and internal network 10.1.0.0/16
      AWS site with PFSense has internal network 10.2.0.0/16

      One working IPsec tunnel is setup between thoses sites.

      Fromp the PFSense side, I would like to NAT main site(10.2.0.0/16) to 10.3.0.0/16, so I can ping 10.3.0.1 from AWS and reach 10.1.0.1 on main site.

      How must I do this?

      • Must I use the IPsec wizard?
          It's not clear to me what does the NAT/BINAT translation.
          Does it NAT the source or the destination network?

      • Must I use a 1-to-1 rule?
          Still not clear about the source or destination NAT.
          Also, about the interface:
        –    Is it where the NAT applies?
        --    is it where the traffic must income to match the NAT rule?
        --    is it where the traffic must outcome to match the NAT rule?

      I'm a little bit confusing about all of this regarding to my experience with other vendors.

      Can you explain it to me?

      1 Reply Last reply Reply Quote 0
      • D
        Deepmind14
        last edited by

        Hi,

        A little refresh on this post.
        The topology I want to achieve is in attachment.

        I tried BINAT in VPN with no success.
        I also tried port forwarding, but no way to translate to a network range. Only possible with a single IP…

        Can someone help me?

        PFSense_DestNAT_multiCustomer.PNG
        PFSense_DestNAT_multiCustomer.PNG_thumb

        1 Reply Last reply Reply Quote 0
        • D
          Deepmind14
          last edited by

          Hi,

          Could someone answer?

          Is it possible with PFSense at least?
          Or must I turn to enterprise solutions?

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            Pretty sure that NAT will have to be done on the other side.

            BINAT in a phase 2 translates the network on your side as it appears to the other side. You would set up a Phase 2 for 10.2.0.0/16 to 10.3.0.0/16. They would NAT it from 10.3.0.0/16 to 10.1.0.0/16.

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

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