OPNsense Forum

English Forums => General Discussion => Topic started by: robertkwild on June 17, 2019, 03:30:55 PM

Title: openvpn client connects but cant get on LAN subnet
Post by: robertkwild on June 17, 2019, 03:30:55 PM
hi all,

i have set up an openvpn server on my opnsense firewall and i can connect to it via my client (android)

but i cant access my LAN network on my mobile even tho i have specified under ipv4 local network

i have made lan rules for my openvpn network to access this network

and when i try to access from my mobile 10.100.1.254 the web page doesnt come up (this is my opnsense web gui)

any help please would be much appreciated

many thanks,
rob
Title: Re: openvpn client connects but cant get on LAN subnet
Post by: robertkwild on June 18, 2019, 02:09:14 PM
this is the error i get in the logs -

openvpn[32077]: rob/193.203.71.102:42856 GET INST BY VIRT: 10.100.1.254 [failed]
Title: Re: openvpn client connects but cant get on LAN subnet
Post by: bartjsmit on June 18, 2019, 03:32:39 PM
Hi Rob,

First off, do you have an allow rule on your OpenVPN interface? Firewall, Rules, OpenVPN, IPv4 * * * * *

Check your steps against this article: https://www.kirkg.us/posts/building-an-openvpn-server-with-opnsense/

If you are largely on the same page, try a packet trace on the firewall to confirm that the traffic matches your expectations.

Bart...
Title: Re: openvpn client connects but cant get on LAN subnet
Post by: robertkwild on June 19, 2019, 02:10:12 PM
nice one Bart!!!!

it was because on the openvpn tab in rules i had to make an any to any rule