2
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 1 year has passed since last update.

OpenVPNサーバー構築 (pritunl)

Last updated at Posted at 2020-12-13

参考

起動

run.sh
docker run \
 -d \
 --name pritunl \
 --cap-add NET_ADMIN \
 --restart=always \
 -p 12321:443/tcp \
 -p 1194:1194/tcp \
 -v $(pwd)/pritunl/:/var/lib/pritunl \
 -v $(pwd)/mongodb/:/var/lib/mongodb \
 jippi/pritunl
  • BBルーターには1194/tcpだけ開ければよい。

設定

1.PNG

2.png

  • Users

2.png

  • Add Organization

3.png

  • 組織の作成

4.png

  • ユーザーの作成 (認証に用いる)

5.png

user.PNG

server.png

  • Add Server

add.png

1.png

2.png

3.png

  • Start Server

4.png

  • 接続設定のダウンロード

users.png

dl.png

dl2.png

  • OneDrive などでiOSに転送する。

iOSにて作業

1.png
2.png
3.png
4.png
5.png
6.png
7.png

完了

速度計測

  • Ping の TTLが 180msの場合、2Mbpsほどしか出なかった。(とても遅い)
  • Ping の TTLが 16msの場合、50Mbps出た。(充分早い)
2
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
2
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?