MatejKovacic Hi, I am thinking of the following setup: 1. I have OpenVPN server with several clients who can see each other. 2. Client1 is also connected in a private network where are two printers and NAS server. 3. I would like that Client2 would have access to this private network (printers, NAS) through Client1. 4. Additionally I would like that Client2 would not use default gateway to the Internet (which is currently VPN server), but that his default gateway would be set to go via Client1. Now, I know I need to set appropriate iptables rules on server and Client1, but my question is, how to push new default gateway to Client2 ONLY. Other clients of course should not have access to the resources of Client1.
TinCanTech MatejKovacic wrote 3. I would like that Client2 would have access to this private network (printers, NAS) through Client1. HOWTO: Expanding the scope of the VPN to include additional machines