interconnect two openvpn servers
Posted: Wed Dec 07, 2022 5:21 pm
Hi everyone, I've only been using openvpn for a short time and every day it surprises me more and I like it more.
I would like to make a configuration but I don't know if this would be possible. I explain:
I have a pc, let's call it PCA, with ubuntu 22.04 in which I have openvpn installed and working correctly without problems.
It has an ip 10.8.0.1 to which about 30 linux users are connected that work correctly.
Now I have a second pc, let's call it PCB, with ubuntu 22.04 openvpn installed and working correctly without problems
It has an ip 10.64.0.1 in which about 10 linux users are connected that work correctly.
The configuration that I am trying to do is that the PCB pc is a client of the PCA pc and at the same time is a server of the 10 original users.
When I connect PCB as a PCA client, the 10 users are disconnected but the PCB works as a client correctly.
Is this what I want to do possible?
I would like to make a configuration but I don't know if this would be possible. I explain:
I have a pc, let's call it PCA, with ubuntu 22.04 in which I have openvpn installed and working correctly without problems.
It has an ip 10.8.0.1 to which about 30 linux users are connected that work correctly.
Now I have a second pc, let's call it PCB, with ubuntu 22.04 openvpn installed and working correctly without problems
It has an ip 10.64.0.1 in which about 10 linux users are connected that work correctly.
The configuration that I am trying to do is that the PCB pc is a client of the PCA pc and at the same time is a server of the 10 original users.
When I connect PCB as a PCA client, the 10 users are disconnected but the PCB works as a client correctly.
Is this what I want to do possible?