I have 4 vps running openvpn server which the end ip is shown in the config below. I enable remote-random for loadbalancing purpose. The problem happen when user want to connect to the vpn server. At 1st try, user will get random server, but at second time, user will get the same server as in 1st. Then i tried to connect and disconnect many times before i get another server. After getting the new ip, when i tried to reconnect, openvpn stil want to connect to the same server as before.
What i want is, user will connect to different ip address. Not select the last server that success.
client
dev tun0
fragment 1200
mssfix
proto udp
remote-random
remote xxx.xxx.xxx.209
remote xxx.xxx.xxx.56
remote xxx.xxx.xxx.108
remote xxx.xxx.xxx.186
port 443
resolv-retry infinite
nobind
persist-key
ca ca.crt
ping 10
reneg-sec 3600000
explicit-exit-notify 2
auth-user-pass
verb 3
mute 20