Project

General

Profile

Actions

Feature #10748

closed
YZ RB

Add support for limiting IPsec VPN access per user group via RADIUS

Feature #10748: Add support for limiting IPsec VPN access per user group via RADIUS

Added by Yury Zaytsev about 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Category:
IPsec
Target version:
Start date:
07/10/2020
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:

Description

Hello,

We've set up an IPsec VPN for road warriors with RADIUS auth, but, unfortunately, it seems that there is currently no way to limit which users have VPN access via groups (class attribute) in the WebGUI. Apparently, it is already supported by strongSwan, see here:

https://wiki.strongswan.org/projects/strongswan/wiki/EAPRadius#Group-selection

I think that the configuration should look like this, but I don't know how to enter it in the GUI:

strongswan.conf

charon {
  plugins {
    eap-radius {
      class_group = yes
      ...
    }
  }
}

ipsec.conf

conn test
  rightgroups = "VPNUsers" 

Additional RADIUS Attributes (REPLY-ITEM) needed can already be entered using the FreeRADIUS settings page:

Class := "admins; VPNUsers" 

This already works to set group memberships e.g. for WebGUI authentication, but sadly not yet for VPN.

Thanks!

VG Updated by Viktor Gurov about 6 years ago Actions #1

  • Target version set to 2.5.0

YZ Updated by Yury Zaytsev about 6 years ago Actions #2

Relates to #935, which was apparently already requested 10 years ago, and implemented 5 years ago, but then got lost during refactoring / redesign :)

P.S. I can't edit my original submission, but if anyone is up to updating docs, I'm afraid that I've made a typo and there shouldn't be spaces between classes - not sure it actually breaks anything though...

Class := "admins;VPNUsers" 

JP Updated by Jim Pingle about 6 years ago Actions #3

  • Status changed from New to Pull Request Review

RB Updated by Renato Botelho about 6 years ago Actions #4

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Renato Botelho
  • % Done changed from 0 to 100

PR has been merged. Thanks!

YZ Updated by Yury Zaytsev about 6 years ago Actions #5

Awesome, thank you very much!

Updated by Anonymous almost 6 years ago Actions #6

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom