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

    IPSEC - NAT - PFSENSE

    Scheduled Pinned Locked Moved IPsec
    2 Posts 1 Posters 603 Views 1 Watching
    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.
    • Y Offline
      Yazur
      last edited by Yazur

      Hello,

      To start, here is our test scheme:
      Scheme

      The objective is to create an IPSEC tunnel between "Pfsense OVH" which has a public IP and "Pfsense GDD" which does not.

      The small difficulty in this scheme is that there is NAT between the "Freebox" router which has a public IP and redirects to the WAN IP of "Pfsense GDD".

      The question is, how to configure Pfsense so that IPSEC works with our scheme?

      Here is the current configuration:

      PFSENSE OVH
      PFSENSE GDD

      Currently when we start the IPSEC VPN from "PFSENSE OVH" we receive UDP frames on port 500 at Pfsense GDD.

      Except that these frames arrive with the source IP of the Freebox and not the public IP of Pfsense OVH, so the IPSEC tunnel is not created.

      How to do it?

      Y 1 Reply Last reply Reply Quote 0
      • Y Offline
        Yazur @Yazur
        last edited by

        @yazur Solution:
        PFSENSE OVH: https://nsa40.casimages.com/img/2021/06/16/210616052718680814.png
        PFSENSE GDD: https://nsa40.casimages.com/img/2021/06/16/210616052659440990.png

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