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

    Port Forwarding over OpenVPN

    OpenVPN
    2
    3
    363
    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.
    • T
      tompark
      last edited by tompark

      Hi guys and Gals,

      I have a question (I know I’ve asked a similar one before).

      I have 2 PFSense boxes connected via OpenVPN I won’t to Forward a port from box a to an ip on box b over OpenVPN.

      Example
      Port Forward port 443 on Public IP of Box a to 10.0.2.6 which is on box b and routable over OpenVPN.

      I have tried a standard port forward buts it’s not working have I missed anything or is there a custom string required to make port forwarding to Work.

      Regards,

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

        On the box B assign an interface to the proper OpenVPN instance and enable it. After that add a firewall rule to the new interface allowing the incoming traffic on port 443 from any source.

        1 Reply Last reply Reply Quote 0
        • T
          tompark
          last edited by

          Hi,

          I had this working but changed the OpenVPN Settings recently to not route all traffic through the vpn and it has stopped working. Once I resolve the VPN Issue I will confirm the full configuration to help others out.

          Regards,

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