LoginSignup
1
1

More than 1 year has passed since last update.

VPN接続している際にWSL2でgit cloneができない

Posted at

はじめに

この記事は2022年1月にまとめていた「細かいつまずいたことをメモしておく(1月編)をそれぞれ投稿した内容になります
解決方法が最新でない可能性もありますのでご了承ください

問題

WSL2(Ubuntu20.04)でGitLabにVPNをつないでアクセスしようとするとタイムアウトになってしまう

解決方法

以下のコマンドを叩くとmtuが設定されて接続されるようになる

$ sudo ip link set eth0 mtu 1200

毎回設定するのは大変なので.bashrcの最後に追加するとよい

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1