Page 1 of 1

OpenVPN wont let me connect to anything other than truenas

Posted: Sun Jan 01, 2023 9:20 pm
by brad1810
hiya,

new to openVPN. I've got everything set up and kina of working just with a few small issues.

when my client is connected they can only access my truenas shares and the truenas interface. (truenas is what is hosting openVPN) but nothing else at all.

my main LAN is on 192.168.0.1 and openVPN is using 192.168.1.1.

in the additional perimeters i have:
push "route 192.168.1.0 255.255.255.0"
push "route 192.168.0.0 255.255.255.0"
push "dhcp-option DNS 192.168.0.100" <- this is the main IP im trying to get on as i have some other services running on here i need my clients to be able to accsess.
push "route-gateway 192.168.0.1"

should there be something else i have? any help is greatly appreciated

Re: OpenVPN wont let me connect to anything other than truenas

Posted: Sun Jan 01, 2023 10:48 pm
by Pippin
Hi,

First take a look here:
https://community.openvpn.net/openvpn/w ... gConflicts

Second here:
https://community.openvpn.net/openvpn/w ... dVPNdevtun
In addition to ^^^, the firewall(s) must allow the traffic.

And:
viewtopic.php?t=22603#p68963

Also note that you might get better help on Truenas forums.
.