Page 1 of 1

Manually adding route to other clients network

Posted: Mon Sep 13, 2021 12:58 pm
by Thiesius
Hey,

I have been wondering if it's possible to add route to clients network manually.

Let me explain. I have the following topology:
Image

I have a server (client-to-client, even though the picture might show otherwise) with N clients called RUT_1 ... RUN_N connected. Each of them have same local network 192.168.1.0/24. Then there is special type of client - let's call him management. From this client I would like to be able to connect to the machine 192.168.1.100 behind RUT1. I can't push the networks in config directly for obvious collision reasons. However I have been hoping I could manually add some route when running management client to expose the network of this particular client.

The goal is to be able to selectively access the networks of each RUT_X clients from the management client.

Thank you for your insights and help in advance.

Re: Manually adding route to other clients network

Posted: Mon Sep 13, 2021 4:24 pm
by Pippin
Thiesius wrote:
Mon Sep 13, 2021 12:58 pm
Each of them have same local network 192.168.1.0/24.
I can't push the networks in config directly for obvious collision reasons.
"obvious collision reasons" :)

See here:
https://community.openvpn.net/openvpn/w ... gConflicts

Re: Manually adding route to other clients network

Posted: Tue Sep 14, 2021 5:16 am
by Thiesius
I understand that if every RUT_X would always push their network there would be collision between RUT_X networks. However Management, and RUT_1 have distinct networks (therefore no collisions). As I said - I want to be able to "mount" the network of RUT_X manually from the management client - always one at the time.