connect from local network to local network

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
chinook
OpenVpn Newbie
Posts: 2
Joined: Thu Jun 28, 2018 11:08 am

connect from local network to local network

Post by chinook » Thu Jun 28, 2018 11:14 am

When I connect from local network 192.168.120.x.x to same networkl. Internet connection stop work. When I have in configuration
push "route 192.168.120.0 255.255.252.0"

When I connect outside network. Everything work well.

But I change this parameter:
push "route 192.168.120.0 255.255.252.0" to individually adress push "route 192.168.120.1 255.255.252.0" and I connect from local to local network.

Everything work well.

Where is error?

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: connect from local network to local network

Post by TinCanTech » Thu Jun 28, 2018 11:23 am

chinook wrote:
Thu Jun 28, 2018 11:14 am
individually adress push "route 192.168.120.1 255.255.252.0"
This is an invalid address.

Please see:
HOWTO: Request Help !

chinook
OpenVpn Newbie
Posts: 2
Joined: Thu Jun 28, 2018 11:08 am

Re: connect from local network to local network

Post by chinook » Thu Jun 28, 2018 1:56 pm

Should be there push "route 192.168.120.1 255.255.255.255. I wrote badly.

Post Reply