ubergarm / l2tp-ipsec-vpn-client

A tiny Alpine based docker image to quickly setup an L2TP over IPsec VPN client w/ PSK.
MIT License
157 stars 124 forks source link

Doesn't work on WSL #17

Open AgentFire opened 1 year ago

AgentFire commented 1 year ago

What I do:

  1. Create the vpn.env file with all four required environ variables.
  2. Run this command: docker run --rm -it --privileged --net=host --env-file ./vpn.env ubergarm/l2tp-ipsec-vpn-client

Resulting errors:

  1. seccomp security for crypto helper not supported
  2. No XFRM/NETKEY kernel interface detected
  3. whack: Pluto is not running (no "/var/run/pluto/pluto.ctl")
  4. xl2tpd[1]: setsockopt recvref[30]: Protocol not available
  5. xl2tpd[1]: L2TP kernel support not detected (try modprobing l2tp_ppp and pppol2tp)
  6. And at the end: xl2tpd[1]: Connection 51431 closed to , port 1701 (Result Code: expected at least 10, got 8)

Full error log here.

Is there any way to launch this on WSL (1 or 2)?