OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • openvpn client connects but cant get on LAN subnet
« previous next »
  • Print
Pages: [1]

Author Topic: openvpn client connects but cant get on LAN subnet  (Read 2929 times)

robertkwild

  • Jr. Member
  • **
  • Posts: 87
  • Karma: 3
    • View Profile
openvpn client connects but cant get on LAN subnet
« 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
« Last Edit: June 17, 2019, 03:32:38 pm by robertkwild »
Logged

robertkwild

  • Jr. Member
  • **
  • Posts: 87
  • Karma: 3
    • View Profile
Re: openvpn client connects but cant get on LAN subnet
« Reply #1 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]
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 2023
  • Karma: 194
    • View Profile
Re: openvpn client connects but cant get on LAN subnet
« Reply #2 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...
Logged

robertkwild

  • Jr. Member
  • **
  • Posts: 87
  • Karma: 3
    • View Profile
Re: openvpn client connects but cant get on LAN subnet
« Reply #3 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • openvpn client connects but cant get on LAN subnet
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2