Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

L2TP/IPsec from IPv6 clients #910

Closed
dongjuanyong opened this issue May 9, 2019 · 3 comments
Closed

L2TP/IPsec from IPv6 clients #910

dongjuanyong opened this issue May 9, 2019 · 3 comments

Comments

@dongjuanyong
Copy link


Prerequisites

  • [ Y ] Can you reproduce?
  • [ Y ] Are you running the latest version of SoftEtherVPN?

SoftEther version: 5.01.9670
Component: Server
Operating system: Linux(OpenWrt)
Architecture: X86_64

Processor: Intel(R) Pentium(R) CPU N3710

Description

Sorry for my English. I compiled SoftEther VPN server 5.01.9670 from OpenWrt packages feed and installed it on my router. It runs OK, but when I tried to connect to my router through L2TP/IPsec from my office (I used IPv6 to connect), it failed to connect. I used to have a stable version of v4.29-9680-rtm before. With the same configuration (I tried exactly the same vpn_server.config file, and also from a fresh reconfiguration), L2TP/IPsec from IPv6 clients worked without any flaws. What I found was that "netstat -lnp" showed the 5.01.9670 versions listened to udp port 1701, 4500 and 500, but only IPv4 of them. The v4.29-9680-rtm listened to further more, including udp :::1701, :::4500 and :::500, raw protocol 50 and 52 for both IPv4 and IPv6. I think that may be the problem.

Expected behavior:
The server listens to udp 1701, 4500, 500 and raw protocol 50, 52 for both IPv4 and IPv6. Thus we can make L2TP/IPsec connections from IPv6 clients.

Actual behavior:
I can't connect L2TP/IPsec VPN from IPv6 clients.

Steps to reproduce

  1. Install 5.01.9670 version of server and run. Try to connect L2TP/IPsec VPN from IPv6 clients and use "netstat -lnp" to find out what ports is it listening to.
  2. Install v4.29-9680-rtm version of server and run. Try to connect L2TP/IPsec VPN from IPv6 clients and use "netstat -lnp" to find out what ports is it listening to.
@chipitsine
Copy link
Member

nice report, btw

@chipitsine
Copy link
Member

@Andy2244 , can you have a look, please ?

@Andy2244
Copy link
Contributor

Andy2244 commented May 16, 2019

mhh if your openwrt version was compiled with ipv6 (default) support, than ipv6 "should" work.
I personally only use the softether protocol via ipv4, so have not personally tested the other permutations, so i rely on user feedback for those.

@chipitsine Is there a specific build option for ipv6, i should check, be aware of or maybe a daemon start option?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants