Help us understand the problem. What is going on with this article?

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

More than 3 years have passed since last update.

環境

  • 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設定ファイル

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした