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)
Android+Openvpn = random MACaddr (no static lease)
-
- Posts: 3
- Joined: Wed May 20, 2015 9:33 am
-
- Posts: 3
- Joined: Wed May 20, 2015 9:33 am
-
- Posts: 6
- Joined: Fri May 22, 2015 9:12 pm
Re: Android+Openvpn = random MACaddr (no static lease)
I have a similar issue. I use the built in android VPN client. The MACs are not random but seem to be assigned off a first come first serve list. I have an open post about this on this forum.
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: Android+Openvpn = random MACaddr (no static lease)
It's normal.
Open VPN or L2TP client doesn't send information to identify the client itself like as MAC address.
If you want to assign static MAC address, try to write a new code.
SoftEther is opensource.
Open VPN or L2TP client doesn't send information to identify the client itself like as MAC address.
If you want to assign static MAC address, try to write a new code.
SoftEther is opensource.