mickael
Hi all,
I need some help please
I'm trying to setup an high availability vpn tunnel, I have two working server where clients can connect properly.
But, if I put 2 remotes-servers in the client's confs and I that I voluntarily interrupt the connection with the server1.
The client tries to connect to Server 2 without ever getting there.
Same thing in the other direction if it initiates the connection with server2 first, it will never fallback on the server1.
here is the client configuration.
[oconf=]client
tls-client
auth SHA256
cipher AES-256-CBC
remote-cert-tls server
tls-version-min 1.2
proto udp
remote-random
remote vpn2.domain-obfuscated.com 1194
remote vpn1.domain-obfuscated.com 1194
dev tun
connect-timeout 4
connect-retry 1
resolv-retry 5
nobind
keepalive 5 30
comp-lzo
persist-key
persist-tun
verb 3
route-method exe
route-delay 2
key-direction 1
<ca>[/oconf]
Here are the infinites trials:
(Ips address are faked)
Wed Feb 21 10:27:28 2018 SIGUSR1[soft,ping-restart] received, process restarting
Wed Feb 21 10:27:28 2018 Restart pause, 1 second(s)
Wed Feb 21 10:27:29 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]144.100.253.30:1194
Wed Feb 21 10:27:29 2018 Socket Buffers: R=[212992->212992] S=[212992->212992]
Wed Feb 21 10:27:29 2018 UDP link local: (not bound)
Wed Feb 21 10:27:29 2018 UDP link remote: [AF_INET]144.100.253.30:1194
Wed Feb 21 10:27:33 2018 Server poll timeout, restarting
Wed Feb 21 10:27:33 2018 SIGUSR1[soft,server_poll] received, process restarting
Wed Feb 21 10:27:33 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]144.100.252.50:1194
Wed Feb 21 10:27:33 2018 Socket Buffers: R=[212992->212992] S=[212992->212992]
Wed Feb 21 10:27:33 2018 UDP link local: (not bound)
Wed Feb 21 10:27:33 2018 UDP link remote: [AF_INET]144.100.252.50:1194
Wed Feb 21 10:27:37 2018 Server poll timeout, restarting
Wed Feb 21 10:27:37 2018 SIGUSR1[soft,server_poll] received, process restarting
Wed Feb 21 10:27:37 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]144.100.253.30:1194
Wed Feb 21 10:27:37 2018 Socket Buffers: R=[212992->212992] S=[212992->212992]
Wed Feb 21 10:27:37 2018 UDP link local: (not bound)
Wed Feb 21 10:27:37 2018 UDP link remote: [AF_INET]144.100.253.30:1194
Wed Feb 21 10:27:41 2018 Server poll timeout, restarting
Wed Feb 21 10:27:41 2018 SIGUSR1[soft,server_poll] received, process restarting
Wed Feb 21 10:27:41 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]144.100.252.50:1194
Wed Feb 21 10:27:41 2018 Socket Buffers: R=[212992->212992] S=[212992->212992]
Wed Feb 21 10:27:41 2018 UDP link local: (not bound)
Wed Feb 21 10:27:41 2018 UDP link remote: [AF_INET]144.100.252.50:1194
Wed Feb 21 10:27:45 2018 Server poll timeout, restarting
Wed Feb 21 10:27:45 2018 SIGUSR1[soft,server_poll] received, process restarting
Wed Feb 21 10:27:45 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]144.100.253.30:1194
Wed Feb 21 10:27:45 2018 Socket Buffers: R=[212992->212992] S=[212992->212992]
Wed Feb 21 10:27:45 2018 UDP link local: (not bound)
Wed Feb 21 10:27:45 2018 UDP link remote: [AF_INET]144.100.253.30:1194
Am I doing something wrong ?