Hello,
I've read and tested solutions provided in the thread "PC-to-LAN connection ok, but…" (https://www.vpnusers.com/viewtopic.php?f=7&t=4542) and I can't make it work.
My problem is exactly the same but I'm running FreeBSD, so the "tap" trick is not available:
- I can connect from an internet client to the public IP of the VPN server using L2TP/IPSec
- I get a LAN IP address provided by the isc-dhcpd service hosted on the VPN server
- I can reach other LAN machines
But:
- I can't ping or access in any way services hosted of the VPN server (like DNS for example)
- I can't access internet through the gateway (VPN server is on this gateway, obviously)
I'm running softether-4.29.9680_1 from FreeBSD packages, on FreeBSD 12.0-RELEASE
Any hint or tutorial about this for FreeBSD ?
Thanks
patpro
VPN to LAN: OK but no access to WAN or to VPN server (FreeBSD)
-
- Posts: 3
- Joined: Tue Jun 25, 2019 8:35 am
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: VPN to LAN: OK but no access to WAN or to VPN server (FreeBSD)
There is a limitation of localbridge with FreeBSD.
https://www.softether.org/4-docs/1-manu ... r_Mac_OS_X
https://www.softether.org/4-docs/1-manu ... r_Mac_OS_X
-
- Posts: 8
- Joined: Tue Jul 02, 2019 3:12 pm
Re: VPN to LAN: OK but no access to WAN or to VPN server (FreeBSD)
Here's my solution to that problem: https://www.vpnusers.com/viewtopic.php?f=7&t=64358
-
- Posts: 3
- Joined: Tue Jun 25, 2019 8:35 am
Re: VPN to LAN: OK but no access to WAN or to VPN server (FreeBSD)
Thank you. I must admit I've not understood everything but I did try to use a dedicated interface for bridging, without success :/thisjun wrote: ↑Tue Jul 09, 2019 5:06 amThere is a limitation of localbridge with FreeBSD.
https://www.softether.org/4-docs/1-manu ... r_Mac_OS_X
-
- Posts: 3
- Joined: Tue Jun 25, 2019 8:35 am
Re: VPN to LAN: OK but no access to WAN or to VPN server (FreeBSD)
Your solution is for Linux, I'm not running Linux but FreeBSD. They greatly differ, in particular in the kernel and in the network implementation. I've followed many tutorials/solutions for Linux, none of them works on FreeBSD.riny wrote: ↑Fri Jul 12, 2019 3:17 pmHere's my solution to that problem: https://www.vpnusers.com/viewtopic.php?f=7&t=64358