OpenVPN / openvpn

OpenVPN is an open source VPN daemon
http://openvpn.net
Other
10.26k stars 2.92k forks source link

is there a way to use tcp mode like udp mode with multihome in the case of openvpn work with keepalived vip #478

Closed bobz965 closed 6 months ago

bobz965 commented 6 months ago

IMPORTANT NOTE Bugs about OpenVPN Access Server, OpenVPN Connect or any other product by OpenVPN Inc. should be directly reported to OpenVPN Inc. at https://support.openvpn.net

Describe the bug A clear and concise description of what the bug is.

OpenVPN UDP can work with keepalive VIP by configuring multihome, but multihome only works in UDP.

Is there a way to use OpenVPN TCP with keepalive VIP like the config option multihome in UDP ???

To Reproduce Steps to reproduce the behavior. Please make sure to not post any secrets like keys and passwords.

Expected behavior A clear and concise description of what you expected to happen.

Version information (please complete the following information):

Additional context Add any other context about the problem here.

cron2 commented 6 months ago

TCP mode does not need the multihome option, because with TCP the kernel will take care of the extra housekeeping needed.

That said, we have removed the check in 2.6.x - so using multihome on a TCP server will no longer cause an option error, but will be silently ignoried (there is nothing to do for OpenVPN in the TCP case).

bobz965 commented 6 months ago

thanks