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

    Grant access to only one server in OpenVPN

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 3 Posters 1.3k Views
    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.
    • W
      wanderleibonetti
      last edited by

      Hello Guys…

      I have one question about OpenVPN.

      My OpenVPN is normally working in Pfsense 2.3.2, but the clients have access in all server inside my network, I need to grant access just to one server.

      How can I do this?

      Thank you!!

      1 Reply Last reply Reply Quote 0
      • H
        heper
        last edited by

        edit the allow-all rule onthe openvpn-tab, to only allow a single destination ip

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

          Same as you grant any other access in pfSense.

          Go to Firewall > rules > OpenVPN and modify the allow-any-to-any rule. As source enter the VPN tunnel subnet and at destination the host address you want to allow the access.
          If you provide DNS to the VPN clients, you have also to add rule for DNS access.

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