LoginSignup
0
1

SoftEtherをバージョンアップする方法

Last updated at Posted at 2021-08-20

SoftEtherのバージョンアップ方法、すっかり忘れてしまっていたので、メモを残しておこうと思います。

このバージョンアップによって、設定済みの情報が上書きされることはないですが、
作業前にバックアップ(スナップショットなど)を取得することをオススメします。

前提

  • バージョンアップする環境
    Amazon EC2 (Amazon Linux2)

  • 現在稼働中のSoftetherモジュールのパス
    /user/local/vpnserver

  • バージョンアップに使用するモジュールのダウンロード先
    /tmp/vpn

#1. 現在のバージョンの確認
vpncmdを使用し、現在のバージョンを確認する。vpncmdは、vpnserverフォルダの直下にある。

$ ./vpncmd /help | grep Version
Version 4.41 Build 9787   (English)

#2. モジュールを入手
SoftEtherのサイトより、バージョンアップで使用するモジュールをダウンロードする。

$ wget https://www.softether-download.com/files/softether/v4.42-9798-rtm-2023.06.30-tree/Linux/SoftEther_VPN_Server/64bit_-_Intel_x64_or_AMD64/softether-vpnserver-v4.42-9798-rtm-2023.06.30-linux-x64-64bit.tar.gz

#3. ダウンロードしたモジュールの解凍

$ tar -zxvf softether-vpnserver-v4.42-9798-rtm-2023.06.30-linux-x64-64bit.tar.gz

#4. Makeコマンドの実行
tar.gzを解凍すると、vpnserverというフォルダができるので、その下でMakeコマンドを実行する

$ cd vpnserver
$ make

・・・

*** PacketiX VPN Server HTML5 Web Administration Console (NEW) ***
This VPN Server / Bridge has the built-in HTML5 Web Administration Console.

After you start the server daemon, you can open the HTML5 Web Administration Console is available at

https://127.0.0.1:5555/
or
https://ip_address_of_the_vpn_server:5555/

This HTML5 page is obviously under construction, and your HTML5 development contribution is very appreciated.

--------------------------------------------------------------------

make[1]: Leaving directory `/tmp/vpn/vpnserver'
$

#4. モジュールのコピー
'Make'したモジュールを、現在稼働しているvpnserverフォルダへコピーする。

$ cp -Rf ./* /user/local/vpnserver

#5. 適用後のバージョンの確認

$ ./vpncmd /help | grep Version
Version 4.42 Build 9798   (English)

#6. サービスの再起動

$ sudo systemctl restart vpnserver

以上で終了です。

0
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
0
1