Page 1 of 1

Cannot connect the the VPN-Server

Posted: Tue Mar 25, 2014 5:28 pm
by cdw90
Hello,

some days ago I installed the Softether VPN Server on my raspberry pi which is running Raspbian. I want to use VPN Server for remote access into the lan at home.
I connect usually with 2 devices, one is my android smartphone and the second a thinkpad with Windows 7.
Both connect with password authorization via l2tp/ipsec.
I use dyndns due to variable ip and ports 443, 500, 1701 and 4500 are forwarded to the raspberry pi.
I use local bridge to the physical ethernet port of the pi.

Remote connection to the VPN works fine. I can surf through the internet and reach the local devices in the lan (e.g. lan-printer or computers).

All devices into my lan have 192.168.1.0/24 adresses and the devices connected via VPN also get 192.168.1.0/24 from the DHCP of my router.

PROBLEM: I can't connect/ping to the raspberry pi itself.

SecureNat ist turned off, it causes heavy load on the raspberry and didn't fix my problem. (Maybe due to wrong configuration?)

Re: Cannot connect the the VPN-Server

Posted: Tue Mar 25, 2014 5:35 pm
by qupfer
RTFM ;)
Specially chapter 3.6.11 and take a closer look at the fith point of this chapter.

You will find the manual here:
https://www.softether.org/4-docs/1-manu ... ver_Manual

Re: Cannot connect the the VPN-Server

Posted: Tue Mar 25, 2014 7:37 pm
by cdw90
Thank you for the answer.

I read 3.6.11. The soluation for me problem is to use 2 networkadapters?!
That's not possible with the raspberry pi.

Could I use a tap-adapter instead?

Re: Cannot connect the the VPN-Server

Posted: Wed Mar 26, 2014 12:17 pm
by qupfer
cdw90 wrote:
> That's not possible with the raspberry pi.
With a usb ethernet/wifi adapter it should work...but yes, not very smart.


> Could I use a tap-adapter instead?
In combination with iptables, there should be possibilities. But never tried, so I can't help. Maybe a simple additional ssh-connection is enought?