1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

UbuntuでL2TPのVPNに接続する

Posted at

はじめに

softetherで立てたVPNサーバー(L2TP)に、Ubuntuから接続する方法をまとめた
確認したのはUbuntu 18.04です

network-managerの設定追加

デフォルとだとL2TPの設定がないので、以下のコマンドで追加する

sudo apt-get install network-manager-l2tp network-manager-l2tp-gnome

VPNの設定

Settings -> Network -> VPN右上の+ -> identity
名前:適当につける
ユーザー名:softetherで設定したユーザー

IPsec Settings
Enable IPsec tunnel to L2TP host:チェックする
pre-shared key:IPsec 事前共有鍵を入れる
Phase1 Algorithms:aes128-sha1-modp1536
Phase2 Algorithms:aes128-sha1

phase2 はsoftetherの暗号化アルゴリズム名。
phase1は諸説あったので、以下のページを参考にしました。
2018-12-01 Ubuntu18.04をL2TPのVPNクライアントにする

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?