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

    In a VPN: users of B , for go out, must NATing with the IP pubblic address of A

    Scheduled Pinned Locked Moved IPsec
    1 Posts 1 Posters 1.2k 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.
    • R
      robicarta
      last edited by

      Hello everyone  :),

      I'm going crazy to find a solution to my problem. ???
      At this point I do not know what to do … I therefore appeal to your help.

      I created a VPN IPSEC [LAN officeA (with public IP Pfsense 85.XX.XX.XX)] to [LAN officeB (Pfsense with public IP 88.XX.XX.XX)], which works perfectly;

      Now I would like to create a compulsory path, in order to reach a specific internet website (for example https: / / 19545.com/test/subMenu.do? menuId = 40 #),
      all clients from officeB must go out from the gateway in officeA (192.168.20.254), in short.. to reach that domain, users must NATing with the IP pubblic address of officeA.

      I tried a static route to the gateway of officeA (192.168.20.254) .. It doesn't work since only through the tunnel you can reach that destination.

      The LOGS show that gateway is unknown. Ping and Traceroute the same.

      LAN (192.168.20.254) Green
      |
      WAN (192.168.1.2) Red
      Pfsense
      |
      -ROUTER(NAT)
      |
      officeA (85.XX.XX.XX)
      |
      |
      tunnel IPSec
      |
      |
      officeB (88.XX.XX.XX)
      |
      -ROUTER(NAT)
      |
      Pfsense
      WAN (10.10.10.2) Red
      |
      LAN (192.168.10.254) Green

      Thanks in advance x the help …

      Robicarta

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