ユーザ用ツール

サイト用ツール


01_linux:01_net:vpnサーバ_packetix_vpn-_softether-vpn_移行

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
01_linux:01_net:vpnサーバ_packetix_vpn-_softether-vpn_移行 [2013/12/06 08:42] – [⑥SoftEther VPN起動] matsui01_linux:01_net:vpnサーバ_packetix_vpn-_softether-vpn_移行 [2019/03/11 02:56] (現在) matsui
行 1: 行 1:
 +====== VPNサーバ(PacketiX VPN -> SoftEther VPN)移行方法======
  
 +SoftEther VPNは、現在筑波大学より配布されている UT-VPN の後継プロジェクトである\\
 +「SoftEthr Project」から公開されるフリーウェアです。
 +
 +PacketiX VPN から SoftEther VPN への移行方法をメモしてます。
 +
 +===== SoftEther VPN インストール・移行 =====
 +
 +==== ①ダウンロード・コンパイル ====
 +
 +最新版は[[http://www.softether.org/]]からダウンロード
 +
 +<code console>
 +# cd /usr/local/src
 +# wget http://www.softether-download.com/files/softether/v1.00-9026-rc2-2013.03.10-tree/Linux/SoftEther%20VPN%20Server/32bit%20-%20Intel%20x86/softether-vpnserver-v1.00-9026-rc2-2013.03.10-linux-x86-32bit.tar.gz
 +# tar zxvf softether-vpnserver-v1.00-9026-rc2-2013.03.10-linux-x86-32bit.tar.gz
 +# cd vpnserver
 +# make
 +Do you want to read the License Agreement for this software ?
 +
 + 1. Yes
 + 2. No
 +
 +Please choose one of above number: 
 +1
 +
 +Did you read and understand the License Agreement ?
 +(If you couldn't read above text, Please read 'ReadMeFirst_License.txt'
 + file with any text editor.)
 +
 + 1. Yes
 + 2. No
 +
 +Please choose one of above number: 
 +1
 +
 +Did you agree the License Agreement ?
 +
 +1. Agree
 +2. Do Not Agree
 +
 +Please choose one of above number: 
 +1
 +
 +</code>
 +
 +==== ②PacketiX停止 ====
 +<code console>
 +# /etc/init.d/vpnserver stop
 +</code>
 +
 +==== ③バックアップ ====
 +元のPacketiXフォルダを移動
 +<code console>
 +# mv /usr/local/vpnserver /usr/local/vpnserver.PacketiX_bak
 +</code>
 +
 +
 +==== ④フォルダ移動 ====
 +
 +元PacketiXフォルダがあった場所にコンパイルしたSoftEther VPNのフォルダを移動する。
 +<code console>
 +# mv /usr/local/src/vpnserver /usr/local/vpnserver
 +</code>
 +
 +
 +==== ⑤設定ファイルのコピー ====
 +元のPacktiXのフォルダから、設定ファイルをコピー
 +<code console>
 +# cp /usr/local/vpnserver.PacketiX_bak/vpn_server.config /usr/local/vpnserver/
 +</code>
 +
 +==== ⑥SoftEther VPN起動 ====
 +<code console>
 +# /etc/init.d/vpnserver start
 +</code>
 +
 +後は [[01_linux:01_net:vpnサーバ_packetix#PacketiX VPNサーバ管理|PacketiX VPNサーバ管理]] / [[01_linux:01_net:vpnサーバ_packetix#PacketiX VPNクライアント|PacketiX VPNクライアント]] 両方で正常に接続できるか確認を行う。
 +
 +
 +===== ロールバック =====
 +
 +==== ①SoftEther VPN停止 ====
 +<code console>
 +# /etc/init.d/vpnserver stop
 +</code>
 +
 +==== ②フォルダ入れ替え ====
 +<code console>
 +# mv /usr/local/vpnserver /usr/local/vpnserver.SoftEther_bak
 +# mv /usr/local/vpnserver.PacketiX_bak /usr/local/vpnserver
 +</code>
 +
 +==== ③PacketiX 起動 ====
 +<code console>
 +# /etc/init.d/vpnserver start
 +</code>
 +
 +
 +{{tag>vpn}}