Page 1 of 1

Client communication across different OpenVPN subnets

Posted: Sat Aug 07, 2021 10:07 pm
by wrightklose
I have two OpenVPN services running on a server. One is running on port 1194 and the other is running on port 8080.

Is there a way to allow clients from both connecting services to communicate with each other?

The OpenVPN that runs on port 1194 uses a server mask of

10.11.0.0 255.255.255.0

The OpenVPN that run on port 8080 uses a server mask of

10.80.0.0 255.255.255.0

Say there is a client connecting on the 1194 service and getting the IP 10.11.0.20 and a client that connects on the 8080 service with an IP 10.80.0.60. What do I need to add to the configuration to allow 10.80.0.60 to connect directly (i.e. ssh into) to 10.11.0.20 and vice versa?

Is this an OpenVPN issue or an iptables issue?