L2TP (long) username containing @ (realm separator)
I’m trying to use pfSense as LNS via L2TP. However my LAC always includes a realm in the username.
For L2TP it’s not uncommon to use usernames containing a realm, in my case (the LAC is a mobile gateway) this results in a username like firstname.lastname@example.org (this is a real world example that I currently use on Cisco, Juniper and FreeBSD/mpd5 with success.
This is currently not working with pfSende as special characters are not accepted as username.
Also (but I was unable to check) a realm often causes long usernames and not every l2tp implementation accept this.
My feature request is twofold:
1) please add support for special characters in usernames or at least allow “@“ as part of the username.
2) please make sure that long usernames (30+ characters) are possible
Let me know if you need more information, I can provide real world traces or additional information.