Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit the asterisk user #58

Open
quivalen opened this issue Jun 15, 2014 · 1 comment
Open

Limit the asterisk user #58

quivalen opened this issue Jun 15, 2014 · 1 comment

Comments

@quivalen
Copy link

Asterisk user is overpowered. If you manage a single radius server working with several differentent networks (departments) asterisk user cause you to login in every different network, without any kind of control on who goes where.

I'm a noob on github, put i've written a bit of code to introduce a "token" concept.

You can create in SoftEtherVPN an user like token#dep1.mydomain.com and any user in the form username@dep1.mydomain.com will be permitted to try authentication against radius. You can now avoid that dep2 user can log on dep1 network.

Code should be compatible with original asterisk user

quivalen@0af3c76
quivalen@4c02511

@quivalen
Copy link
Author

quivalen@6433e53 enables the "domain" token to be #fqdn.

So to enable john.doe@test.domain.com you should create the user #test.domain.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants