Dynamic IP allocation wont work correct
Posted: Mon Mar 07, 2022 12:02 pm
Hi,
we try to deploy the access-server with failover.
Our goal is to setup dynamic ip-addresses for our clients.
Every client/user belongs to an Group.
We've setup an dynamic ip address network and static ip address network under "Configuration => VPN Settings".
The "Group Default IP Address Network (Optional)" is empty because we dont want to use it and its optional.
The User are configured to use dynamic ip addresses "User Management => User Permissions => Username => IP Addressing => Use Dynamic"
The Group has an empty "Dynamic subnet ranges for this group (optional): " under "User Management => Group Permissions => Groupname => "
Now the Clients cant connect "User authentication failed".
The ServerNode-Log says:
Of course its empty, because we didnt setup any Network because its optional and we wont use it. Why is this an problem? The Client should become an IP-Address from the Subnet we defined under "Configuration => VPN Settings".
How can we reach what we trying to do?
we try to deploy the access-server with failover.
Our goal is to setup dynamic ip-addresses for our clients.
Every client/user belongs to an Group.
We've setup an dynamic ip address network and static ip address network under "Configuration => VPN Settings".
The "Group Default IP Address Network (Optional)" is empty because we dont want to use it and its optional.
The User are configured to use dynamic ip addresses "User Management => User Permissions => Username => IP Addressing => Use Dynamic"
The Group has an empty "Dynamic subnet ranges for this group (optional): " under "User Management => Group Permissions => Groupname => "
Now the Clients cant connect "User authentication failed".
The ServerNode-Log says:
Code: Select all
[stdout#info] VPN Auth Failed: "group assignment failed: GROUP: group 'groupname' has no defined dynamic IP range: omi/auth:805,internet/defer:1418,sagent/usersvc:1504,sagent/usersvc:705,sagent/usersvc:165,sagent/usersvc:310,sagent/usersvc:295,sagent/usersvc:243 (<class 'pyovpn.sagent.usersvc.Client.IPSettings.do_ip_address.<locals>.GroupError'>)" [None]
How can we reach what we trying to do?