You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mknod `/dev/net /tun' function is not implemented #874
inakalepsie - Thanks for the feedback. If you would like to setup VPN through WSL, help us prioritize that by also providing that feedback through our user voice page
Reacted by dtracers, fpqc, Nathan Henderson, Carl Patenaude-Poulin, th3cr0w and eglauko
Jock Reed (@JockDaRock) No update. If it is going to be implemented, there is zero chance it's going to show up in Redstone 2 (next Win10 release). We'll probably start hearing from the team about implementation of kernel-mode drivers in general (or maybe a way for driver-makers to expose their drivers to WSL) for this sort of thing, but there are right now no plans. They won't rule it out if it becomes a super high-rated feature on the user voice page, but atm they have other priorities.
This is important especially for Cisco IPSec VPN. The only reason I use linux subsystem on windows is to get around the lack of support of cisco ipsec in windows 10 native vpn settings.
Reacted by Jock Reed, Pavel Busko, Maciej M. Zdziarstek and eglauko
Russ Alexander (@russalex) might be able to give a better insight into the roadmaps, which might help you understand where this lines up with other things.
Unfortunately I can't give too many details about the roadmap but I can give some clues. First, if you look at our release notes so far they show off a bit of our priorities (usermode, networking, bug fixes). Second, we have stated publicly that filesystem performance is pretty high on our list. Finally, we really do pay attention to User Voice so expect to see something from that list.
On /dev/net/tun, we do know that we have issues with VPN's, but we haven't fully investigated yet. This is one of those situations where we need to prioritize against everything else. As always, User Voice is a great place to vote to help raise visibility.
Reacted by fpqc, Nathan Henderson and Carl Patenaude-Poulin
I have a fix prepared for DNS resolution when you connect to VPN on windows, but need to verify that your VPN networking interface is reported as point-to-point interface (which is a Windows requirement).
Pretty sure Win10 does support "Cisco Ipsec" in the advanced options anyway. Ipsec-IKEv2 with machine certs or user certs is broken for me on insider builds but works inside my Win10 1607 testing VM (lol @ role reversal). Not sure if I need to do a clean install of an insider build to fix it either...
Also, there's a whole other crazy thing where you can set up ipsec directly in the "Windows Advanced Firewall" for split-tunneling and secure login to remote domain controllers, but I haven't gotten it to work with strongswan.
Dear fpqc,
Thanks for the feedback, I understand this is going to be problematic.
Is there a way to find out about Microsoft's priorities for WSL improvements and to see if this is somewhere in the pipeline at all ?
Peter J. Jansen
Any progress in April 2018? I was failed when running openconnect in WSL Debian:
Failed to open tun device: No such device
Set up tun device failed
Unknown error; exiting.
We do not currently have plans to support this. Please submit a request on our User Voice Page and upvote. We will prioritize feature requests accordingly
Can't you set up the tunnel on Windows and then set your routes to use the Windows tunnel?
Yep. I spend some of my day with bits and bytes going through an OpenSSL tunnel via a Windows TAP driver to California. Have since before the OP.
Someone mentioned further back "yes, I could set up VPN tunnel from Windows, but I would prefer to do it from WSL". Someone is bound to say it again. But that isn't really a well-formed ask under the present WSL design, since (unlike in a VM) your Windows Network is your WSL network. It is roughly equivalent to "I want to administer my Windows network with the Linux kernel ABI".
So, yeah, UserVoice, sure -- I guess. But there are a lot of technical reasons why that isn't real feasible, and those reasons don't have much to do with "tunnels". [With the obligatory caveat, anything is technically possible even if it isn't especially feasible.]
If you are missing a particular kconfig module please open new submission under a new cover. For general help with "snx vpn" you will get better eyeballs in a forum related to the product.
Activity
fcicq commentedon Aug 12, 2016
looks like you are requesting tun / tap device support. I dont think it will be implemented. you should use Windows native VPN instead.
fpqc commentedon Aug 12, 2016
Windows should allow you to set up the VPN tunnel, then you should be able to just make use of WSL through the Windows tunnel.
inakalepsie commentedon Aug 16, 2016
yes, I could set up VPN tunnel from Windows, but I would prefer to do it from WSL.:-)
sunilmut commentedon Aug 16, 2016
inakalepsie - Thanks for the feedback. If you would like to setup VPN through WSL, help us prioritize that by also providing that feedback through our user voice page
JockDaRock commentedon Aug 26, 2016
Sunil Muthuswamy (@sunilmut) so what is the status of this... I am interested in this being a thing as well
fpqc commentedon Aug 26, 2016
Jock Reed (@JockDaRock) No update. If it is going to be implemented, there is zero chance it's going to show up in Redstone 2 (next Win10 release). We'll probably start hearing from the team about implementation of kernel-mode drivers in general (or maybe a way for driver-makers to expose their drivers to WSL) for this sort of thing, but there are right now no plans. They won't rule it out if it becomes a super high-rated feature on the user voice page, but atm they have other priorities.
JockDaRock commentedon Aug 26, 2016
What is on the roadmap currently for WSL? 😄
fpqc commentedon Aug 26, 2016
Jock Reed (@JockDaRock) Usermode usermode usermode, more interop, and better FS performance
hiemal commentedon Sep 1, 2016
This is important especially for Cisco IPSec VPN. The only reason I use linux subsystem on windows is to get around the lack of support of cisco ipsec in windows 10 native vpn settings.
JockDaRock commentedon Sep 2, 2016
I agree, this feature needs to be added fairly soon, makes some of my other projects more difficult
sunilmut commentedon Sep 2, 2016
Russ Alexander (@russalex) might be able to give a better insight into the roadmaps, which might help you understand where this lines up with other things.
russalex commentedon Sep 6, 2016
Sorry for the late reply. Long weekend here.
Unfortunately I can't give too many details about the roadmap but I can give some clues. First, if you look at our release notes so far they show off a bit of our priorities (usermode, networking, bug fixes). Second, we have stated publicly that filesystem performance is pretty high on our list. Finally, we really do pay attention to User Voice so expect to see something from that list.
On /dev/net/tun, we do know that we have issues with VPN's, but we haven't fully investigated yet. This is one of those situations where we need to prioritize against everything else. As always, User Voice is a great place to vote to help raise visibility.
misenesi commentedon Nov 28, 2016
who's pig (@hiemal), could you please provide output when you do
ipconfig /all
?
I have a fix prepared for DNS resolution when you connect to VPN on windows, but need to verify that your VPN networking interface is reported as point-to-point interface (which is a Windows requirement).
fpqc commentedon Nov 28, 2016
Pretty sure Win10 does support "Cisco Ipsec" in the advanced options anyway. Ipsec-IKEv2 with machine certs or user certs is broken for me on insider builds but works inside my Win10 1607 testing VM (lol @ role reversal). Not sure if I need to do a clean install of an insider build to fix it either...
Also, there's a whole other crazy thing where you can set up ipsec directly in the "Windows Advanced Firewall" for split-tunneling and secure login to remote domain controllers, but I haven't gotten it to work with strongswan.
4 remaining items
fpqc commentedon May 1, 2017
Peter Jansen (@Peter-J-Jansen) sure there's a chance, but I wouldn't hold my breath.
Peter-J-Jansen commentedon May 2, 2017
Dear fpqc,
Thanks for the feedback, I understand this is going to be problematic.
Is there a way to find out about Microsoft's priorities for WSL improvements and to see if this is somewhere in the pipeline at all ?
Peter J. Jansen
fpqc commentedon May 2, 2017
this kind of feature will only make it in if there are a lot of votes for it on uservoice I think
vineethelias commentedon May 14, 2017
I'm facing same problem with openconnect vpn. It fails to configure tun\tap module.
fpqc commentedon May 14, 2017
vineethelias yeah because WSL doesn't contain such a kernel module to configure
moralrebuild commentedon Apr 2, 2018
Any progress in April 2018? I was failed when running openconnect in WSL Debian:
Failed to open tun device: No such device
Set up tun device failed
Unknown error; exiting.
tara-raj commentedon Jun 12, 2018
We do not currently have plans to support this. Please submit a request on our User Voice Page and upvote. We will prioritize feature requests accordingly
fpqc commentedon Jun 12, 2018
Can't you set up the tunnel on Windows and then set your routes to use the Windows tunnel?
therealkenc commentedon Jun 13, 2018
Yep. I spend some of my day with bits and bytes going through an OpenSSL tunnel via a Windows TAP driver to California. Have since before the OP.
Someone mentioned further back "yes, I could set up VPN tunnel from Windows, but I would prefer to do it from WSL". Someone is bound to say it again. But that isn't really a well-formed ask under the present WSL design, since (unlike in a VM) your Windows Network is your WSL network. It is roughly equivalent to "I want to administer my Windows network with the Linux kernel ABI".
So, yeah, UserVoice, sure -- I guess. But there are a lot of technical reasons why that isn't real feasible, and those reasons don't have much to do with "tunnels". [With the obligatory caveat, anything is technically possible even if it isn't especially feasible.]
[ed] User Voice here and here.
pmercatoris commentedon Jul 26, 2020
Any update on this? I am trying to install snx vpn on wsl or on docker, but the missing tun module makes it impossible.
therealkenc commentedon Jul 26, 2020
If you are missing a particular kconfig module please open new submission under a new cover. For general help with "snx vpn" you will get better eyeballs in a forum related to the product.
DjArt commentedon Dec 1, 2021
But what about WSL1?