Languages

Windows WSL and VPN - how to connect WSL to windows VPN when windows is connected to VPN?

4 points
Asked by:
Roseanne-Read
1365

How can I connect WSL to VPN?

I have windows with working VPN connection.

I would be interested to solution for below VPN's:

  • NordVPN
  • Cisco AnyConnect
  • Some other popular VPN's
1 answer
4 points
Answered by:
Root-ssh
178260

Personally I've tested wsl-vpnkit:

This is quite popular and solves the problem.

 

Below I show some examples.

service status

start service

Examples of two above commands:

 

How to setup? From the github read me of wsl-vpnkit:

Setup

Download the prebuilt file wsl-vpnkit.tar.gz from the latest release and import the distro into WSL 2. Running the distro will show a short intro and exit.

Start wsl-vpnkit from your other WSL 2 distros. Add the command to your .profile or .bashrc to start wsl-vpnkit when you open your WSL terminal.

 

0 commentsAdd comment
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join