Hello everyone,
I'm setting a new VPN, here is part of the config of the new server:
server 10.19.2.0 255.255.255.0
Also, here's the IP address of the server:
ifconfig tun1
tun1: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
inet 10.19.2.1 netmask 255.255.255.255 destination 10.19.2.2
I'm using client-config-dir to allocate subnet to clients.
When I gave this subnet to the client, the VPN didn't work (it connected, but packets not routed/forwarded in iptables) :
ifconfig-push 10.19.2.1 10.19.2.2
However, when I give this subnet to the client, the VPN works properly :
ifconfig-push 10.19.2.5 10.19.2.6
Please someone can explain to me why?
Is it because the 10.19.2.1 is already allocated to the VPN server that the client cannot use it?
Thank you in advance