Skip to contentSkip to conversation

UDP P2P mode and multiple remote peers in 2.0.2

Openvpn-devel Samuel Tardieu 1 participant 1 message Oct 25, 2005

lore
Share & tools
lore
#0 lore raw

Hi.

It looks like OpenVPN 2.0.2 only considers the first peer in UDP P2P mode. I am in a situation where, from my laptop, the remote end is at one of three different remote addresses depending on where I connect from. The second and third addresses are never tried.

I worked around the problem by using a "keepalive" and "remote-random" on the laptop so that every address gets a chance to be tried eventually, but this takes a lot of time, especially when OpenVPN could automatically try the next address when it receives a connection refused from the currently tried remote address:

  Oct 26 01:40:52 [openvpn] read UDPv4 []: Connection refused (code=111)

Sam

Signature · 1 line
Samuel Tardieu -- [email protected]... -- http://www.rfc1149.net/sam