Problem with L2TP Connection

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
Andrey029
Posts: 3
Joined: Mon Aug 29, 2016 10:21 am

Problem with L2TP Connection

Post by Andrey029 » Mon Aug 29, 2016 10:36 am

Hello,
I'm setup softehter vpn server, on the PC with private IP address, and i can connect to server using MS-SSTP and Softether VPN Client, but i can't connect to server using L2TP, why? (ports (UDP 500 and 4500) are opened.)

moatazelmasry
Posts: 336
Joined: Sat Aug 15, 2015 7:41 pm

Re: Problem with L2TP Connection

Post by moatazelmasry » Tue Aug 30, 2016 11:27 pm

Did you enable l2tp?
what is the client?
What are your configurations?
what does the logs say?
Please provide more info

Andrey029
Posts: 3
Joined: Mon Aug 29, 2016 10:21 am

Re: Problem with L2TP Connection

Post by Andrey029 » Wed Aug 31, 2016 2:55 pm

moatazelmasry wrote:
> Did you enable l2tp?
> what is the client?
> What are your configurations?
> what does the logs say?
> Please provide more info

Ofcourse, I enable l2tp.
The client is iOs and Windows 7 l2tp.
Configurations are Windows 7 x32, SoftEther VPN Server Version 4.20 Build 9608, SecureNAT is disabled.
In attach more info.

Is it can be that l2tp doesn't work through vpnazure?
You do not have the required permissions to view the files attached to this post.

moatazelmasry
Posts: 336
Joined: Sat Aug 15, 2015 7:41 pm

Re: Problem with L2TP Connection

Post by moatazelmasry » Wed Aug 31, 2016 7:39 pm

Hmm. In the server log, there's nothing related to l2tp, as if the first connection does not even make it to the server

L2TP protocol requires port 1701. Please open it as well
I'm not sure whether L2TP need ports 500 and 4500 (probably not), but it doesn't harm to test these as well

From the client machine(a linux), could you please try the following command
nc -vnzu ${VPN_SERVER_IP} ${PORT}

With the ports: 500,4500, 1701

Make sure to use IPs and not dns names for this command. You should get
Connection to $SERVER_IP $PORT port [udp/*] succeeded!
For the three port

Andrey029
Posts: 3
Joined: Mon Aug 29, 2016 10:21 am

Re: Problem with L2TP Connection

Post by Andrey029 » Wed Aug 31, 2016 9:18 pm

I think it is because of vpnazure.net.
I made some tests on PC that has a static ip address and when I connect to the server through ip address or ddns.softether.net l2tp connection is working, but if I use ddns.vpnazure.net l2tp connection isn't working.

Post Reply