The problem is in the client, that try to connect to the old IP. I am getting this message:
Preserving recently used remote address: [AF_INET]x.x.x.x:Y
Where x.x.x.x is the last IP that OpenVpn could connect.
How could avoid to try to connect to the old IP? I want that OpenVpn connects to the IP that is getting when I try to connect to mydomain.com.
I am using 2.5.4 version of OpenVpn.
Also, the config file is this:
Code: Select all
client
dev tun
dev-node "OpenVPN Wintun"
windows-driver wintun
proto udp
remote mydomain.com 1111
resolv-retry infinite
nobind
persist-key
persist-tun
Thanks.