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

    Control network based on IPSEC user?

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    2 Posts 2 Posters 1.1k 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.
    • J
      j_f
      last edited by

      How can I control network access based on the IPSEC user that is logged in?

      USERA should have access to 192.168.1.0/24

      USERB should have access to 192.168.2.0/24

      I know I can give them each a certain IPSEC IP Address, and then set firewall rules based on that IP Address, but what prevents them from changing their IP Address in the IPSEC client settings?

      Is there anyway to do such network access control through IPSEC?

      Please tell me if there is a better way to this problem?

      Thank you.

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

        There isn't a way to enforce the IP assignment with the IPsec client in that way, unfortunately.

        You can set per-user IPs given from the server side with OpenVPN, and also with PPTP. Those can't be changed by the user.

        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.