I don't know how to implement it but I have my own congiguration:
2 or more wg interfaces with different settings
Some user have access to wg0 and some users have access to wg1
wg0 is default interface and when user log in first time wg-portal create default configuration for wg0 but, I need to create manualy configuration for wg1 per user.
I don't know how to implement it but I have my own congiguration:
wg0
is default interface and when user log in first time wg-portal create default configuration for wg0 but, I need to create manualy configuration for wg1 per user.My rouge idea: add configuration like
And if user is member of
WG_DEVICE_WG1_GROUP
wg_portal will create peer forWG1
and user can create peer for himself only for `WG1 device.It's looks like 2 different portals, for now I can create sample configuration
But i'd like to create only one instance of wg-portal with 2 groups, each group for each wg device