Hello,

I working on a mesh (later on might be a full mesh) network with OpenVPN and OSPF on the vpn links.
A brief summary of how would this network look like with 3 locations:

Location A ==> 10.0.1.0/24
PTP router links for tun interface 192.168.1.1<>192.168.1.2 A->B
PTP router links for tun interface 192.168.1.3<>192.168.1.4 A->C

Location B ==> 10.0.2.0/24
PTP router links for tun interface 192.168.1.1<>192.168.1.2 A->B
PTP router links for tun interface 192.168.1.5<>192.168.1.6 B->C

Location C ==> 10.0.3.0/24
PTP router links for tun interface 192.168.1.5<>192.168.1.6 B->C
PTP router links for tun interface 192.168.1.3<>192.168.1.4 A->C

Each link would run OSPF on top so for example if the connection between A and B would go down the traffic would automatically routed through A->C->B.

What is the best practice for this scenario, running 1 OpenVPN server and 1 client per location or having multiple instances with p2p mode is better?

For example this could be setup that only B and C are running in server mode and A just connects back in client mode, that would mean that B and C is using CCDs and certificate based names to give out ips for the connecting peers and would also mean that in some case when there is 1 tun interface on the server it would might interfere with ospfs for 2 networks on 1 interface.



_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to