FromZero Hey all, my OpenVPN-Server is working fine. But I would like to restrict access for usernames which don't contain a static string. For example: Only users containing "XYZ" in their usernames have access. Is there a way to add this constraint in the config file? Best regards
Traffic No: in the config file Yes: in the script you use to evaluate User/Pass See --auth-user-pass-verify in The Manual v23x However, there are other tricks if you use proper certificates. :geek:
FromZero Thank you. Unfortunately I can't find anything regarding my problem there. I know this script, but I have still no idea how to solve my problem.
Traffic You can only "restrict access by user name string" by writing a suitable script to evaluate your requirement. What OS does your server use ?