LoginSignup
4
2

More than 3 years have passed since last update.

Arch Linux に SoftEther_VPN をインストール

Last updated at Posted at 2018-03-16

関連ソフトのインストール

sudo pacman -S dhclient

SoftEther_VPN のインストール

yaourt -Sb softethervpn

次のコマンドがインストールされます。

/usr/bin/vpnserver
/usr/bin/vpnclient
/usr/bin/vpncmd

サーバーのスタート

sudo systemctl start softethervpn-server
sudo systemctl status softethervpn-server

クライアントサービスのスタート

systemctl start softethervpn-client
systemctl status softethervpn-client

サーバーの設定

vpncmd /server

クライアントの設定

vpncmd /client

サーバーの設定の確認方法

$ vpncmd /server

VPN Server>Hub Default

VPN Server/DEFAULT>UserList

VPN Server/DEFAULT>DhcpGet

VPN Server/DEFAULT>DhcpTable

VPN Server/DEFAULT>quit

クライアントの設定の確認方法

$ vpncmd /client

VPN Client>NicList

VPN Client>AccountList

VPN Client>quit

設定済みのクライアントをサーバーに接続する

VPN Client>AccountConnect test
AccountConnect command - Start Connection to VPN Server using VPN Connection Setting
The command completed successfully.

DHCP で アドレスを取得する

ip addr show vpn_test
sudo dhclient vpn_test
ip addr show vpn_test

アドレスが取得できたことを確認する

$ ip addr

サーバー側でアドレスを配布していることを確認 (サーバーでの操作)

VPN Server/DEFAULT>dhcptable
DhcpTable command - Get Virtual DHCP Server Function Lease Table of SecureNAT Function
Item            |Value
----------------+-------------------------
ID              |1
Leased at       |2019-12-10 (Tue) 18:31:56
Expires at      |2019-12-10 (Tue) 20:31:56
MAC Address     |5E-89-43-E7-E4-20
Allocated IP    |192.168.30.10
Client Host Name|pansy
The command completed successfully.

参考にしたページ
SoftEtherでVPN環境を作ろう

4
2
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
4
2