I have a strange behavior that i could't explain.
I have deployed open VPN server on Ubuntu 16.04.
For some clients I need to have static ip addresses so I made the ipp.txt file with the following content:
user1,10.8.0.4
user2,10.8.0.8
But the strange thing - that when user2 is connected it gets ip address 10.8.0.10 (always, it is not a random ip address, so ipp.txt is working)
So I tried to play around with ipp.txt, and learned that the client gets ip adress saved in ipp.txt + 2 for instance:
user2,10.8.0.8 + 2 = 10.8.0.10
Even if change ipp.txt the logic stays the same, openvpn server always magically adds two....
I have some unsolved mystery here, so I am curious - why is it that? How can this be explained?