9
9

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 5 years have passed since last update.

Arch LinuxにSoftEtherを入れる (Cubox-i4 Pro)

Posted at

環境

  • Cubox-i4 Pro
  • ArchLinuxARM-imx6-cubox

SoftEtherインストール

ダウンロード

$ wget http://jp.softether-download.com/files/softether/v4.15-9546-beta-2015.04.05-tree/Linux/SoftEther_VPN_Server/32bit_-_ARM_EABI/softether-vpnserver-v4.15-9546-beta-2015.04.05-linux-arm_eabi-32bit.tar.gz

$ tar zxvf softether-vpnserver-v4.15-9546-beta-2015.04.05-linux-arm_eabi-32bit.tar.gz

$ rm softether-vpnserver-v4.15-9546-beta-2015.04.05-linux-arm_eabi-32bit.tar.gz

# URL及びファイル名は下記より最新ビルドの物に置き換える
# SoftEther ダウンロード センター
# SoftEther VPN (Freeware) > SoftEther VPN Server > Linux > ARM EABI (32bit)

make

make等入れていなければインストール

$ sudo pacman -S make
$ sudo pacman -S gcc
$ cd vpnserver
$ make

make実行中の質問は全て1

配置

以降rootにて実施

$ su
# cd ..
# mv vpnserver /usr/local
# cd /usr/local/vpnserver/
# chmod 600 *
# chmod 700 vpncmd
# chmod 700 vpnserver

動作チェック

チェックコマンド実行

# ./vpncmd

途中、下記では3を入力

By using vpncmd program, the following can be achieved.

チェック開始

VPN Tools>check

下記が表示されればOK

All checks passed. It is highly likely that SoftEther VPN Server / Bridge can ope
rate normally on this system.

チェックコマンド終了

VPN Tools>exit

systemd設定

設定ファイル作成

# vi /etc/systemd/system/vpnserver.service

設定内容は下記

[Unit]
Description=SoftEther VPN Server
After=network.target

[Service]
Type=forking
ExecStart=/usr/local/vpnserver/vpnserver start
ExecStop=/usr/local/vpnserver/vpnserver stop

[Install]
WantedBy=multi-user.target

実行と自動実行登録

# systemctl start vpnserver
# systemctl enable vpnserver

以上で導入完了

SoftEtherの設定はGUIツールにて実施
参考: Raspberry PiでSoftEther VPN


参考
7.3 Linux へのインストールと初期設定
[Systemd用SoftEther設定ファイル]
(http://blog.204504byse.info/wiki.cgi?page=Systemd%CD%D1SoftEther%C0%DF%C4%EA%A5%D5%A5%A1%A5%A4%A5%EB)

9
9
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
9
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?