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

Problem with juniper vpn #127

Closed
tomece opened this issue May 18, 2022 · 1 comment
Closed

Problem with juniper vpn #127

tomece opened this issue May 18, 2022 · 1 comment

Comments

@tomece
Copy link

tomece commented May 18, 2022

Hello,
my behaviour with vpnkit:

vpn off:
dns is working
wsl2 has internet connection
wsl2 has (of course) no connection to corp. intranet

vpn on:
dns is working
wsl2 lost partial internet connection: ping is possible, all other connections will timeout
wsl2 has connection to corp.intranet

My question: can I somehow route only corp intranet traffic (whole x.x.x.x/8 network) through vpn and leave the rest as it is without vpn ?

@sakai135
Copy link
Owner

@tomece You can do that by editing the calls to ip route in the wsl-vpnkit script.

Another reason might be that your VPN requires you to use a proxy to access the public internet. If so, you will have to configure that manually inside your WSL 2 distro.

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

2 participants