NOTE: This instaruction asumes using linux on Raspberry Pi. testuser/pftest
is an example for User ID and password.
- go to https://www.softether-download.com/en.aspx?product=softether
- Select Software -> SoftEther VPN (Freeware)
- Select Component -> SoftEther VPN Client
- Select Platform -> Linux
- Select CPU -> ARM EABI (32bit)
- Download newest file
- (as of April 5th, newest file is: https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/releases/download/v4.34-9745-beta/softether-vpnclient-v4.34-9745-beta-2020.04.05-linux-arm_eabi-32bit.tar.gz )
% tar zxf softether-....tar.gz
% cd vpnclient
% make
To avoid looping, on the client, set a static route for the VPN server in the cloud. For example:
% sudo ip route add xxx.xxx.xxx.xxx via yyy.yyy.yyy.yyy dev zzz0
where
- xxx.xxx.xxx.xxx: IP address of Softether VPN server in the cloud
- yyy.yyy.yyy.yyy: Default gateway of your local network
- zzz0: Interface name which is connected to your local network.
% sudo ./vpnclient start
% ./vpncmd /client localhost
vpncmd command - SoftEther VPN Command Line Management Utility
...
Connected to VPN Client "localhost".
VPN Client>
Connection has been established with VPN Client "localhost".
VPN Client>NicCreate tun0 <----
VPN Client>AccountCreate pf2020 /SERVER:xxx.xxx.xxx.xxx:443 /HUB:wotpf /USERNAME:testuser /NICNAME:tun0 <---
VPN Client>NicEnable tun0 <---
VPN Client>AccountUsernameSet pf2020 /USERNAME:testuser <---
VPN Client>AccountPasswordSet pf2020 /PASSWORD:pftest /TYPE:standard <---
VPN Client>AccountConnect pf2020 <---
You should get IP address from DHCP server
% sudo dhclient vpn_tun0
% ip addr show vpn_tun0