SoftEther for Raspbian

インストール

$ wget http://jp.softether-download.com/files/softether/v4.22-9634-beta-2016.11.27-tree/Linux/SoftEther_VPN_Client/32bit_-_ARM_EABI/softether-vpnclient-v4.22-9634-beta-2016.11.27-linux-arm_eabi-32bit.tar.gz

$ tar xvfz softether-vpnclient-v4.22-9634-beta-2016.11.27-linux-arm_eabi-32bit.tar.gz

$ cd vpnclient

$ make

# cd ..

# mv vpnclient /usr/local

設定

# cd /usr/local/vpnclient

# vpnclient start

# vpncmd /client

	Connected to VPN Client "localhost".

VPN Client>NicCreate tun0
NicCreate command - Create New Virtual Network Adapter
The command completed successfully.

VPN Client>AccountCreate tun0
AccountCreate command - Create New VPN Connection Setting
Destination VPN Server Host Name and Port Number: *.*.*.*:443

Destination Virtual Hub Name: DEFAULT

Connecting User Name: test

Used Virtual Network Adapter Name: test

The command completed successfully.

VPN Client>NicEnable tun0
NicEnable command - Enable Virtual Network Adapter
The command completed successfully.

VPN Client>AccountUsernameSet tun0
AccountUsernameSet command - Set User Name of User to Use Connection of VPN Connection Setting
Connecting User Name: test

The command completed successfully.

VPN Client>AccountPasswordSet tun0
AccountPasswordSet command - Set User Authentication Type of VPN Connection Setting to Password Authentication
Please enter the password. To cancel press the Ctrl+D key.

Password: ******
Confirm input: ******

Specify standard or radius: standard

The command completed successfully.

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

	
アドレスの取得

# dhclient vpn_tun0

ゲートウェイの修正

# route -n

# ip route del default via 192.168.30.1

# route -n


vpnclient を、systemctl で起動するには

/etc/systemd/system/vpnclient.service を作成する。


Return

Feb/02/2017