Can't connect to openvpn when on the same network than the vpn

Need help configuring your VPN? Just post here and you'll get that help.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
bedurant
OpenVpn Newbie
Posts: 1
Joined: Thu Apr 29, 2021 7:36 pm

Can't connect to openvpn when on the same network than the vpn

Post by bedurant » Thu Apr 29, 2021 7:48 pm

Hi all, I hope I'm wrinting in the good forum...

I configured openvpn on my synology NAS. It's working great as long as I'm not on my local network.
But I'd like a solution where the VPN is always connected and IP adress is the same if I'm home or not.
I have this problem on LAN and WIFI, with my Windows 10 laptop and with my Android.

Here are the logs, I don't understant where It's blocking...any help appreciated.

Thank you

log
⏎4/29/2021, 8:41:26 PM OpenVPN core 3.git::58b92569 win x86_64 64-bit built on Feb 10 2021 15:20:23
⏎4/29/2021, 8:41:26 PM Frame=512/2048/512 mssfix-ctrl=1250
⏎4/29/2021, 8:41:26 PM UNUSED OPTIONS
1 [tls-client]
3 [pull]
5 [script-security] [2]
⏎4/29/2021, 8:41:26 PM EVENT: RESOLVE ⏎4/29/2021, 8:41:26 PM EVENT: WAIT ⏎4/29/2021, 8:41:26 PM Contacting XX.XX.114.156:1297 via UDP
⏎4/29/2021, 8:41:26 PM WinCommandAgent: transmitting bypass route to XX.XX.114.156
{
"host" : "XX.XX.114.156",
"ipv6" : false
}

⏎4/29/2021, 8:41:27 PM Connecting to [XX.synology.me]:1297 (XX.XX.114.156) via UDPv4
⏎4/29/2021, 8:41:36 PM Server poll timeout, trying next remote entry...
⏎4/29/2021, 8:41:36 PM EVENT: RECONNECTING ⏎4/29/2021, 8:41:36 PM EVENT: RESOLVE ⏎4/29/2021, 8:41:36 PM Contacting XX.XX.114.156:1297 via UDP
...
⏎4/29/2021, 8:41:52 PM EVENT: DISCONNECTED ⏎

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 8983
Joined: Fri Jun 03, 2016 1:17 pm

Re: Can't connect to openvpn when on the same network than the vpn

Post by TinCanTech » Fri Apr 30, 2021 2:15 pm

bedurant wrote:
Thu Apr 29, 2021 7:48 pm
I'd like a solution where the VPN is always connected and IP adress is the same if I'm home or not.
And I'd like a Ferrari ..

Openvpn is pointing out that your network does not support your desired solution.

google: hair-pin route.

Post Reply