Page 1 of 1

VPN to LAN: OK but no access to WAN or to VPN server (FreeBSD)

Posted: Wed Jun 26, 2019 12:20 pm
by patpro
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

Re: VPN to LAN: OK but no access to WAN or to VPN server (FreeBSD)

Posted: Tue Jul 09, 2019 5:06 am
by thisjun
There is a limitation of localbridge with FreeBSD.
https://www.softether.org/4-docs/1-manu ... r_Mac_OS_X

Re: VPN to LAN: OK but no access to WAN or to VPN server (FreeBSD)

Posted: Fri Jul 12, 2019 3:17 pm
by riny
Here's my solution to that problem: https://www.vpnusers.com/viewtopic.php?f=7&t=64358

Re: VPN to LAN: OK but no access to WAN or to VPN server (FreeBSD)

Posted: Wed Jul 17, 2019 7:23 pm
by patpro
thisjun wrote:
Tue Jul 09, 2019 5:06 am
There is a limitation of localbridge with FreeBSD.
https://www.softether.org/4-docs/1-manu ... r_Mac_OS_X
Thank you. I must admit I've not understood everything but I did try to use a dedicated interface for bridging, without success :/

Re: VPN to LAN: OK but no access to WAN or to VPN server (FreeBSD)

Posted: Wed Jul 17, 2019 7:27 pm
by patpro
riny wrote:
Fri Jul 12, 2019 3:17 pm
Here's my solution to that problem: https://www.vpnusers.com/viewtopic.php?f=7&t=64358
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.