openVPN couldn't connect in location with same router model

itskando

Contributor
Joined
Apr 30, 2018
Messages
172
I followed the Bibi40k install openVPN guide to setup a VPN server.
This works in most places, but when connecting the client in a separate residence
(which happens to use the same router [Google Wifi] and the same local network [192.68.86.0/24] as the server location),
the client could not connect.

[Tragically, I didn't have time to log anything, but
I'll grab data next time I'm there, and
bump this thread then if I have to.]

The openVPN client was connected but,
attempting to ssh or use a browser to access/manage the freeNAS OS interface or any jails failed.

My theories included:
• Trying to connect to without setting up port forwarding on the client side?
• freeNAS OS and the jails are all hosted on 192.68.86.0/24, and so was the client side network.

Additionally, the Fuzzy_Dunlop ipfw.rules guide (as suggested by Fuzzy_Dunlop on reddit)
mentions editing the resolv.conf file to prioritize the VPN network changed things.
The Bibi40k install openVPN guide didn't mention anything like this - could it be related?
[Could it be useful to do anyway?]

.

The guide says /etc/resolv.conf should look like:
Code:
search local
nameserver 10.4.0.1
nameserver 10.5.0.1
nameserver 192.168.1.1

I have:
Code:
search local nas.<domain>.com
nameserver 192.168.86.1
nameserver 1.1.1.1
nameserver 1.0.0.1

This, I believe is based on my global settings.

Is 10.X.0.0 always a secure network (typically used with VPN)?
Should I alter my global settings to include my VPN network,
and thus instead be:
Code:
search local nas.<domain>.com
nameserver 10.8.0.1
nameserver 192.168.86.1
nameserver 1.1.1.1
 
Last edited:

itskando

Contributor
Joined
Apr 30, 2018
Messages
172
Top