|
|
Den søndag 1.jan kl. 19:17 skrev Alex Brett:
Hi,
Does anyone know of a method, either with OpenVPN or something
within TCP (I'm using TCP rather than UDP for several reasons)
itself to redirect a connection to a different IP address.
Essentially, what I am wanting to do, is have one 'front-end' IP
address which all the clients connect to, and then have a service
which redirects the client to one of two OpenVPN servers depending
on which one has the least clients at the moment (before anyone
suggests it, I have looked at using the remote-random and multiple
remote entries on the clients, but this does not provide an ideal
solution as it is based on randomness).
I would have the front-end set up using HA techniques so that one
of the two servers runs it, and if that server fails, it falls over
to the other box which will then pick up the IP and start
redirecting (obviously only redirecting to itself, although
potentially as usage increases I may want more servers in which
case the same principle applies).
I know it could probably be done with port forwarding in some
clever way, but what I really want is for the front-end to be out
of the loop once it has passed the traffic on, rather than just
forwarding it to a different server...
iptables or netcat can redirect tcp
______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users
Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-01/msg00005.html on line 197
Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-01/msg00005.html on line 197
|