redmage123
Hello all,
I've been doing some research on setting up openvpn strictly to connect
two servers, both of which are on separate networks with a router between
them. There's not a lot of documentation on this with openvpn, at least that I can find.
most documentation talks about one or more clients connecting to a server.
From my understanding, the way to do this with OpenVPN is to set up both a client
and a server on each physical system, is this correct? How, then do I keep the IP addresses
consistent? i.e. if server 1 has ip addr 10.8.0.1 and client 1 has 10.8.0.5 on one of the
connections, do the virtual IP address remain constant going the other way?
Also, is OpenVPN the best solution to a server to server connection? Would something like StrongSWAN/IPSec be more optimal here?
Thanks,
redmage123
maikcat
hi there,
dont be confused by server & client terms.....
client is simply the one who starts the session and server is one who listens...
after vpn is up ,you simply have 2 directional communication...
if you want lan-2-lan connectivity ,its simply adding 2 directives on server side...
regards
Michael.
redmage123
The issue is that I want either side of the vpn connection to be able to initiate
the connection. I.e. both sides need to be a client and a server.
-- redmage123
maikcat
you can create 2 instanses of openvpn ,one client one server...
but if you push routes to the client will be a mess...
Michael
ps:AFAIK ipsec also is client/server also