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

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
patpro
Posts: 3
Joined: Tue Jun 25, 2019 8:35 am

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

Post by patpro » Wed Jun 26, 2019 12:20 pm

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

thisjun
Posts: 2454
Joined: Mon Feb 24, 2014 11:03 am

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

Post by thisjun » 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

riny
Posts: 3
Joined: Tue Jul 02, 2019 3:12 pm

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

Post by riny » Fri Jul 12, 2019 3:17 pm

Here's my solution to that problem: https://www.vpnusers.com/viewtopic.php?f=7&t=64358

patpro
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)

Post by patpro » Wed Jul 17, 2019 7:23 pm

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 :/

patpro
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)

Post by patpro » Wed Jul 17, 2019 7:27 pm

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.

Post Reply