- Muchas notas - Fran Acién

20201215 - Openvpn reach multiple machines on the server network

Following this guide this is how I cand reach others machines on the remote network using Open VPN.

Where my routers has a LAN with 192.168.0.0/24, and OpenVPN is on 192.168.0.255/24

Add this to openvpn.conf:

push "route 192.168.0.0 255.255.255.0"

### Advertise ea4rct subnet
client-to-client
push "route 192.168.0.0 255.255.255.0"

Then i create a file in ccd/CANAME:

iroute 192.168.0.0 255.255.255.0

With this configuration I’am able to reach the machines in remote network.

I am not able to reach my computer from one’s in remote network. This would be solved by routing traffic to the machine with OpenVPN, configuring the router.