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



  • 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


Log in to reply