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

    NAT issue behind Ipsec IP for local network

    Scheduled Pinned Locked Moved IPsec
    3 Posts 1 Posters 523 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.
    • S
      scorpoin
      last edited by scorpoin

      Hello,

      Here is the simple diagram to get the basic picture of scenario
      Screenshot_2021-07-02 Untitled Workspace - Creately.png

      I've 3 interface on my Pfsense firewall

      LAN: 172.16.190.0/24
      WAN : 1.2.3.4
      Ipsec : 192.168.3.2/32

      I've created IPsec successfully and I can ping site-B ipsec ip 192.168.3.1 from my firewall.

      Site-B allowed traffic from only 192.168.3.2 and I dont have controll on that firewall/site . Now I want to NAT my lan traffic via ipsec tunnel ,so my I can access 192.168.3.1 from my lan network .I'm lost how do I get it done .

      Regards

      S 1 Reply Last reply Reply Quote 0
      • S
        scorpoin @scorpoin
        last edited by

        Any one have any idea?

        Does site-B need to allow my internal subnet as well to make it work ?

        Regards

        1 Reply Last reply Reply Quote 0
        • S
          scorpoin
          last edited by scorpoin

          I'm trying to edit this post as solved , but failed to edit keep getting popup message you can edit post from 36000 hrs .

          Any way I use NAT/BINAT option again in phase-2 of ipsec.

          Local : 172.16.190.0/24
          NAT-BINAT : 192.168.3.2/32
          remote : 192.168.3.0/30

          that's all and reconnect the ipsec tunnel and every thing worked like a charm . I didnt add any firewall extra rule any where .

          Regards

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