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

    Site-to-Site VPN Configuration on pfSense with Source NAT

    IPsec
    2
    3
    166
    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.
    • D
      desbravastus
      last edited by

      Hey everyone, I need some help.

      I’ve set up a site-to-site VPN with a Juniper device, but I’m running into an issue. Here are the configurations:

      Peer Gateway: 17x.xx.xxx.xx4
      Local Peer: 10.xxx.xxx.xx/32
      Remote Peer: 10.x.x.x/8
      Source NAT IP: 10.xxx.xxx.xx/32
      The tunnel is configured and successfully established in both phases (IKE and IPsec). I can ping the Peer Gateway, but when trying to access the address http://10.x.x.xxx:8080, the connection doesn’t work.

      Upon checking the logs, the connection state shows as CLOSED:SYN_SENT or SYN_SENT:CLOSED.

      Has anyone faced a similar issue or has an idea of what might be causing this?

      Any help is greatly appreciated!

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @desbravastus
        last edited by

        @desbravastus
        There is no good reason for obscuring private IP addresses at all. Nobody is able to access it from outside your network.

        Remote Peer: 10.x.x.x/8

        The remote site is an /8?. Wow! Does it really accommodate as many devices?

        Source NAT IP: 10.xxx.xxx.xx/32

        Seems to overlap the remote network...

        1 Reply Last reply Reply Quote 0
        • D
          desbravastus
          last edited by

          The issue was related to the port 8080 rule on the Juniper device. After making the adjustment, access was granted, and everything worked perfectly.
          Thank you!

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