Please, advise regarding my particular case of Site-to-Site setup, whether it is possible or not.
I've followed guides for general configuration for connecting OpenVPN server LAN with client LAN. Accordingly, I have in /etc/openvpn/ccd/client1:
iroute 192.168.8.0 255.255.255.0
And here is the corresponding /etc/openvpn/server.conf portion:
route 192.168.8.0 255.255.255.0
client-to-client
push "route 192.168.0.0 255.255.255.224"
Now one particular is that this client machine is NOT its LAN's gateway. That is, this client is on the LAN just like other machines are and connects to VPN server via that LAN's gateway (192.168.8.1), that's a separate machine.
Hence my question: is it still possible for this client to share its LAN through VPN with the VPN side LAN? So far, with the config above, it still doesnt' work. This only makes accessible from the server side the client's own LAN IP (say, 192.168.8.23) from which it connects to VPN, but no other machines on the LAN (e.g. 192.168.8.5, 192.168.8.6 etc.).
Now I have a vague recollection of having done this in the past by adding the LAN's gateway somewhere in configs -- but where? My problem is, I think, that I don't have a 100% clear understanding of how routing works, sorry for that ...
Thank you in advance.