I have an OpenVPN server which runs with two configurations - first one is
port 1194
proto udp
dev tun
while the second one is
port 443
proto tcp
dev tun
port-share ${my-ip} 10443
I keep them this way since I prefer the udp one, but port 443 is accessible everywhere, while 1194 is not. Also port-sharing makes apache ssl logs less useful.
I use different subnets for each configuration:
server 10.25.1.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-to-client
and
server 10.25.2.0 255.255.255.0
ifconfig-pool-persist ipp-port-share.txt
client-to-client
However, with this config a client from the first config (10.25.1.0/24) will be unable to connect to a client from the second config ( 10.25.2.0/24 ).
What can I do so that the two client subnets can communicate?