access via VPN subnet... changed?

Need help configuring your VPN? Just post here and you'll get that help.

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
Nerdvana
OpenVpn Newbie
Posts: 2
Joined: Sun Oct 09, 2022 6:27 pm

access via VPN subnet... changed?

Post by Nerdvana » Sun Oct 09, 2022 8:28 pm

Hi all - I have a few clients accessing an OpenVPN 2.5.7 instance (hosted on an Ubuntu droplet at DigitalOcean). Clients are either OpenVPN 2.5.2 on OpenWrt or OpenVPN Connect 3.3.5 on MacOS or iOS.

The VPN subnet is 10.8.8.0/24. Up until late September all clients could access the server on 10.8.8.1, as expected. That has recently stopped working. I don't *think* I made any server config changes (and have reverted server.conf to be sure) but I have been installing all the OS upgrades.

Bizarrely (IMHO) the OpenVPN Connect client on MacOS can access the server on 10.8.8.0, but not on 10.8.8.1. I don't understand this AT ALL.

The primary purpose of this VPN is client-to-client networking, which continues to work as normal.

Does this sound familiar to anybody? Any and all suggestions welcome.

Cheers
Sean

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

Re: access via VPN subnet... changed?

Post by TinCanTech » Sun Oct 09, 2022 8:41 pm

Nerdvana wrote:
Sun Oct 09, 2022 8:28 pm
can access the server on 10.8.8.0, but not on 10.8.8.1. I don't understand this AT ALL.
That is highly unlikely..

Nerdvana
OpenVpn Newbie
Posts: 2
Joined: Sun Oct 09, 2022 6:27 pm

Re: access via VPN subnet... changed?

Post by Nerdvana » Sun Oct 09, 2022 8:54 pm

Agreed that it's highly unlikely, but here we are. See below, especially the bash environment variables:

Code: Select all

sean@Sean-MBP ~ % ssh 10.8.8.0
Welcome to Ubuntu 21.10 (GNU/Linux 5.13.0-52-generic x86_64)

2 updates can be applied immediately.
To see these additional updates run: apt list --upgradable

Last login: Sun Oct  9 20:26:28 2022 from 10.8.8.16
sean@HHGorilla:~$ env|grep SSH
SSH_CONNECTION=10.8.8.16 54813 10.8.8.0 22
SSH_CLIENT=10.8.8.16 54813 22
SSH_TTY=/dev/pts/0
sean@HHGorilla:~$ 
Cheers
Sean

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

Re: access via VPN subnet... changed?

Post by TinCanTech » Sun Oct 09, 2022 11:48 pm

So, what you are trying to say is:

You have configured Openvpn in such a way that your ssh server is now functioning on the network address ?

User avatar
ordex
OpenVPN Inc.
Posts: 444
Joined: Wed Dec 28, 2016 2:32 am
Location: IRC #openvpn-devel @ libera.chat

Re: access via VPN subnet... changed?

Post by ordex » Mon Oct 10, 2022 8:16 am

Maybe the server log could shed some lights?

Post Reply