Android+Openvpn = random MACaddr (no static lease)
Posted: Wed May 20, 2015 9:41 am
I am using Softether without virtualNAT, I use dnsmasq and local bridge instead (tap). I have managed to assign static ip addresses using dhcp with dnsmasq.conf to Windows clients.
The problem is that when I connect to this server using Openvpn from Android the MAC address of the android is different each time! So it is impossible to set a static dhcp lease for android client.
The vpn itself works fine, the problem only with random MAC.
How can I set static lease to Ovpn client?
The dnsmasq.leases with android connected looks like this:
1xxxxxxxxx b4:xx:xx:xx:xx:56 192.168.6.33 * 01:xx:xx:xx:xx:xx:42 (those MACs are random on each connect)
The problem is that when I connect to this server using Openvpn from Android the MAC address of the android is different each time! So it is impossible to set a static dhcp lease for android client.
The vpn itself works fine, the problem only with random MAC.
How can I set static lease to Ovpn client?
The dnsmasq.leases with android connected looks like this:
1xxxxxxxxx b4:xx:xx:xx:xx:56 192.168.6.33 * 01:xx:xx:xx:xx:xx:42 (those MACs are random on each connect)