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

    Restrict OpenVPN to certain local IPs

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    3 Posts 3 Posters 1.7k 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.
    • X
      xerovis
      last edited by

      I have searched for this information all over and have had no luck. I noticed you could not do this in 1.2.3 but figured you must be able to do it in 2 because of all the extra features. I am using the road warrior configuration.

      I have two OpenVPN servers running in pfsense, both work. One OpenVPN server is for unfettered access to the internal LAN, the second only needs access to one IP on the network. Is there a way to do this and not effect the other VPN? They are on different external subnets.

      1 Reply Last reply Reply Quote 0
      • J
        jlepthien
        last edited by

        ???

        Isn't it as simple as setting up rules on the OpenVPN tab in the rules section? I really do not understand the problem here…

        | apple fanboy | music lover | network and security specialist | in love with cisco systems |

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Rules on the OpenVPN tab should do it… Or you could also assign the OpenVPN interface as an OPT interface and put rules on each one individually, but that shouldn't really be needed just for this.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

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