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

    PFsense NAT from Site A to webserver Site B

    NAT
    2
    4
    484
    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.
    • B
      belalalali
      last edited by

      I really appreciate help here to know what is missing:

      Site A is connected to Site B through VTI Ipsec working great.
      I can ping and reach any in both sites,
      What I want is to reach the webserver located in site B through the WAN in site A
      simply i want to nat from WAN in Site A to webserver through the IPSEC tunnel.

      I tried Nating source WAN distination static ip ( of the webserver ) did not work
      I tried Nating Source WAN distination VTI interface ( static of webserver ip ) also did not work

      What is missing here ??

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @belalalali
        last edited by

        @belalalali said in PFsense NAT from Site A to webserver Site B:

        I can ping and reach any in both sites,

        If that is true then you can reach the webserver.. Are you saying you want to access this web server through the public internet and not through your site to site?

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        B 1 Reply Last reply Reply Quote 0
        • B
          belalalali @johnpoz
          last edited by

          @johnpoz Yes I have no problem with the IPsec ...

          I want to reach the webserver in site A with thepublic IP of site B

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @belalalali
            last edited by

            @belalalali well that would come down most likely to what you resolve the fqdn of this webserver your trying to access.

            If you resolve host.domain.tld to the IP that is accessible via the tunnel - then yes the traffic would go down the tunnel.

            If you resolve host.domain.tld to the public IP then the traffic would go out via your normal internet connection.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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