SoftEther OpenVPN random MAC addresses
Posted: Tue Oct 06, 2015 8:49 am
Dear colleagues,
We are using SoftEther on the server and OpenVPN clients on Android smartphones. SoftEther server assigns a random MAC addresses to each new client connection. We have the problem that SoftEther assigns all the time the same MAC addresses to clients, when a user disconnects, SoftEther frees that MAC and assigns it to the next new connection.
Now:
00:01:00 User 1 connects : MAC 01:02:03:04:05:06
00:05:15 User 1 disconnects
00:07:35 User 2 connects : MAC 01:02:03:04:05:06 (repeats MAC)
03:01:00 User 3 connects : MAC A1:A2:A3:A4:A5:A6 (new MAC)
For us that is a problem because our services grant users with up to 2 hours of access based on their MACs, so if one user logs in and logs out in less than 2 hours the systems will consider the next user as the same.
Is there a way for SoftEther to not give always the last free MAC to a new user.
Ideal:
00:01:00 User 1 connects : MAC 01:02:03:04:05:06
00:05:15 User 1 disconnects
00:07:35 User 2 connects : MAC A1:A2:A3:A4:A5:A6 (new MAC)
03:01:00 User 3 connects : MAC 01:02:03:04:05:06 (repeats first MAC only after a certain timeout)
Having a timeout before reassigning a MAC address to a new connection will solve this and many other issues.
On OpenVPN client configuration using TAP interface, MAC address can be specified will LLADDR but not on TUN interfaces. Under Android OS only TUN interfaces can be user and MAC cant be specified.
Thank you,
Peter
We are using SoftEther on the server and OpenVPN clients on Android smartphones. SoftEther server assigns a random MAC addresses to each new client connection. We have the problem that SoftEther assigns all the time the same MAC addresses to clients, when a user disconnects, SoftEther frees that MAC and assigns it to the next new connection.
Now:
00:01:00 User 1 connects : MAC 01:02:03:04:05:06
00:05:15 User 1 disconnects
00:07:35 User 2 connects : MAC 01:02:03:04:05:06 (repeats MAC)
03:01:00 User 3 connects : MAC A1:A2:A3:A4:A5:A6 (new MAC)
For us that is a problem because our services grant users with up to 2 hours of access based on their MACs, so if one user logs in and logs out in less than 2 hours the systems will consider the next user as the same.
Is there a way for SoftEther to not give always the last free MAC to a new user.
Ideal:
00:01:00 User 1 connects : MAC 01:02:03:04:05:06
00:05:15 User 1 disconnects
00:07:35 User 2 connects : MAC A1:A2:A3:A4:A5:A6 (new MAC)
03:01:00 User 3 connects : MAC 01:02:03:04:05:06 (repeats first MAC only after a certain timeout)
Having a timeout before reassigning a MAC address to a new connection will solve this and many other issues.
On OpenVPN client configuration using TAP interface, MAC address can be specified will LLADDR but not on TUN interfaces. Under Android OS only TUN interfaces can be user and MAC cant be specified.
Thank you,
Peter