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

    routing on vpn user

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 544 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.
    • M
      mrjoli021
      last edited by

      I have two sites connected through a site to site vpn. I would like to create several vpn users that would only need access to one site. The flow would be a remote user connects to the PFSense firewall. Once authenticated they would get pushed down the routes ONLY to the site they belong to. The user should not be allowed to connect to the other site. How can I acomplish something like this?

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

        @mrjoli021
        To push the routes to the remote users, add the local network they should be able to access to the "IPvX Local network/s".
        AND also configure the firewall rules on the OpenVPN tab to allow them only to access what you want. If you have an allow any to any rule edit it and set the source to the access servers tunnel network and the destination as desired.
        Assuming you have an assigned an interface to the site-2-site, where you have a proper rule for that communication.

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