Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Can't access LAN through VPN client
« previous
next »
Print
Pages: [
1
]
Author
Topic: Can't access LAN through VPN client (Read 4990 times)
stiggs
Newbie
Posts: 4
Karma: 1
Can't access LAN through VPN client
«
on:
March 09, 2017, 05:36:10 am »
Hello everyone,
I have just installed OPNSense for the first time yesterday. I followed the "SSL VPN Road Warrior" setup and can connect via my iPhone through the openVPN app. When I check my public IP all traffic is being routed through the opnsense server so all is good. The problem is that I cannot access anything on my LAN other than the opnsense server through the private IP. When I check the firewall logs, traffic is being passed to the local addresses, but I dont get a response and no blocks in my logs. What am I doing wrong?
Logged
bartjsmit
Hero Member
Posts: 2016
Karma: 194
Re: Can't access LAN through VPN client
«
Reply #1 on:
March 09, 2017, 11:11:15 am »
Do the lan hosts have OPNsense as their default gateway? If not then you either have to set up static routing or use NAT for the traffic flowing out of the tunnel.
Bart...
Logged
stiggs
Newbie
Posts: 4
Karma: 1
Re: Can't access LAN through VPN client
«
Reply #2 on:
March 09, 2017, 09:03:11 pm »
Yes, they are using OPNSense as the default gateway.... actually, they do not. This is what happens when you try doing this at 2 in the morning. The hosts I am trying to connect to are not using DHCP and their gateways were never updated. Thank you very much.
Logged
guest15389
Guest
Re: Can't access LAN through VPN client
«
Reply #3 on:
March 09, 2017, 09:11:11 pm »
For the OpenVPN config, do you push your route you need out for the local LAN?
I have a line in my Advanced OpenVPN config:
Code:
[Select]
push "route 192.168.86.0 255.255.255.0";
With my local LAN being 192.168.86.0/24 and my OpenVPN is 10.0.8.0/24.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Can't access LAN through VPN client