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

    Port Forwarding Via Site to Site VPN (OPEN VPN)

    OpenVPN
    2
    2
    381
    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.
    • E
      emtechsg
      last edited by

      Capture.PNG

      Hi,

      I am trying to a port forward on my WAN (42.82.88.1) to reach Web Server (10.0.0.253) via OpenVPN Site to Site (Peer to Peer) Connection.

      I have already tunnel all traffic from the Web Server (10.0.0.253) to go through WAN (42.82.88.1) and did the necessary port forwarding.

      However, the port forwarding still doesn't work. I am still unable to reach the Web Server (10.0.0.253) via WAN (42.82.88.1).

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

        @emtechsg

        The trick to route the packets correctly is on the pfSense at at the web servers site (83.82.88.1).
        If it is on version 2.5.1 update it to 2.5.2.

        If you didn't already, assign an interface to the OpenVPN instance and activate it.
        This gives you a new tab in the firewall rules. Add a rule to this allowing the incoming traffic from the remote site.

        Ensure that there is no rule on the OpenVPN tab matching to this traffic. If possible remove all rules if you don't need them for other OpenVPN instances.
        Also ensure that no floating rule is matching that traffic.

        On the other side simply port forward the traffic to the web server.

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