The Main router is connected via OpenVPN clients to two other routers: One and Five. I can access all the devices on all three networks from my computer seamlessly.
When I am outside, and I connect a phone to my Main OpenVPN server, I can access only its own LAN. To access other two LAN-s, I must connect separately to their own servers. Works just fine, but I do not like it. I do have two workarounds, but not acceptable.
I do not want One and Five to be able to access the Main LAN. Each server and client have unique CN, and use Tun UDP4.
One has 192.168.1.0/24 and an OpenVPN server 10.37.0.0 port 1197
Main has 192.168.2.0/24 and an OpenVPN server 10.16.0.0 port 1199
Five has 192.168.5.0/24 and an OpenVPN server: 10.12.0.0 port 1195
After three days of reading and trying whenever I had time, I managed to achieve this! This morning I restarted the Main firewall - all was gone! Meaning, I accidentally combined two pieces of information to make it work. The first piece of the puzzle I can not comment - some firwall rule I typed to the console.
The second piece was using "Manage Client-Specific Options" and listing the other two nets with Push. Just as if connecting several clients on the same server! That was working the same as just: "Manage Client-Specific Options" "No" and these two lines added to the "Custom Configuration" from OpenVPN docs
push "route 192.168.1.0 255.255.255.0"
push "route 192.168.5.0 255.255.255.0"
Apparantly, some firewall rule I entered while trying out was crucial! Most likely restarting the firewall on my main router broke things. It may get complicated by all three AC68 / AC66_B1 routers using Merlin v380.70.
I would really appreciate help as it drove me crazy today!
When I am outside, and I connect a phone to my Main OpenVPN server, I can access only its own LAN. To access other two LAN-s, I must connect separately to their own servers. Works just fine, but I do not like it. I do have two workarounds, but not acceptable.
I do not want One and Five to be able to access the Main LAN. Each server and client have unique CN, and use Tun UDP4.
One has 192.168.1.0/24 and an OpenVPN server 10.37.0.0 port 1197
Main has 192.168.2.0/24 and an OpenVPN server 10.16.0.0 port 1199
Five has 192.168.5.0/24 and an OpenVPN server: 10.12.0.0 port 1195
After three days of reading and trying whenever I had time, I managed to achieve this! This morning I restarted the Main firewall - all was gone! Meaning, I accidentally combined two pieces of information to make it work. The first piece of the puzzle I can not comment - some firwall rule I typed to the console.
The second piece was using "Manage Client-Specific Options" and listing the other two nets with Push. Just as if connecting several clients on the same server! That was working the same as just: "Manage Client-Specific Options" "No" and these two lines added to the "Custom Configuration" from OpenVPN docs
push "route 192.168.1.0 255.255.255.0"
push "route 192.168.5.0 255.255.255.0"
Apparantly, some firewall rule I entered while trying out was crucial! Most likely restarting the firewall on my main router broke things. It may get complicated by all three AC68 / AC66_B1 routers using Merlin v380.70.
I would really appreciate help as it drove me crazy today!