TinCanTech wrote
It looks like you understand how to use openvpn. My guess is, just a routing/firewall error.
I mean.... This is my first time ever using OpenVPN srver, so I'm really not that capable. I don't have that much knowledge in VPN server conf.
I started this server config in december, 2020. At first I didn't know about this CCD stuff, all I could do in the beggining was to have my office clients to connect to my home network, but not the other way around.
Then I had to do some searches in Google and I found this article:
https://openvpn.net/community-resources/expanding-the-scope-of-the-vpn-to-include-additional-machines-on-either-the-client-or-server-subnet/
So then I understood that I would need to use CCD to "merge" those 2 networks. So far it has been working flawlessly.
Now my last step is to make standalone clients (which are not in a subnet that I have control) to be able to be integrated in both networks.
Considering what you could see in my config, is there anything else that I have to set in my OpenVPN server?
I'm kind stuck in this state. I don't mind searching and reading stuff to learn more, the problem is that I don't know how this "standalone" client would be called in the official documentation or in a random tutorial in the web. By the way, this CCD stuff was really hard to find, because, since I'm using OpenWRT, from what I've read, OpenVPN in those devices aren't quite the actual OpenVPN that you can install in a barebone linux machine. So it's quite hard to understand what I was doing because all docs to OpenVPN in OpenWRT wiki were broken (they have been changing stuff in the last year, so most of the stuff is linked to articles that don't exist).
If this is really a Firewall/Routing error, I suppose I would need to dig into my Router config that is running my OpenVPN server, right? Since my office router is pretty much already connected to the VPN and from my home I can access everything there, I think there isn't much I can do in the (openvpn) client side.
If this is the case, I will probably ask for help in the OpenWRT forum....
The only rule in my Firewall that I had to do so far is to allow my VPN ZONE to connect to my LAN ZONE:
Forwarded IPv4, protocol UDP
From VPN, IP 10.8.0.0/24
To lan, IP 192.168.1.0/24
But there isn't anything mentioning my office lan (192.168.31.0/24), and I can still access it from my home network (192.168.1.0/24). So I don't think this is the case, but I will try later today to apply a forward rule, but to any zone (instead of lan ony, since my office lan is not actually a vlan in my home network).
Thanks again!
---EDIT
Yeah, it didn't work... I'm clueless here.