
https://liewdaryl.wordpress.com/2015/06/06/setting-up-vpn-server-on-raspberry-pi-2/


x
http://www.softether.org/4-docs/1-manual/7._Installing_SoftEther_VPN_Server/7.3_Install_on_Linux_and_Initial_Configurations


*****************************
https://www.google.com/search?q=code%2Fvpnserver.a%3A+error+adding+symbols%3A+File+in+wrong+format&oq=code%2Fvpnserver.a%3A+error+adding+symbols%3A+File+in+wrong+format&aqs=chrome..69i57j0j69i58.1495j0j7&sourceid=chrome&ie=UTF-8

https://github.com/SoftEtherVPN/SoftEtherVPN/issues/547

https://github.com/SoftEtherVPN/SoftEtherVPN/blob/master/src/BUILD_UNIX.md#build-from-source-code-and-install


n......S905wˤ覡,ؤ覡


HUw˦\
https://code.launchpad.net/~paskal-07/+archive/ubuntu/softethervpn-nightly
https://code.launchpad.net/+help-soyuz/ppa-sources-list.html

sudo apt-add-repository ppa:paskal-07/softethervpn-nightly 
&& sudo apt-get update 
&& sudo apt-get upgrade 
&& sudo apt-get install softether-vpnserver

wˤ}l

sudo /home/hckao/vpncmd

Choose 1 and keep hitting enter for default settings till you get a prompt where you type in

(1ëOJq{]mAzJ)


1
ServerPasswordSet

VPN Server>ServerPasswordSet
ServerPasswordSet command - Set VPN Server Administrator Password
Please enter the password. To cancel press the Ctrl+D key.









HU|
https://code.launchpad.net/~paskal-07/+archive/ubuntu/softethervpn
SoftEtherVPN Daily Builds.
To install SoftEtherVPN type in terminal:

sudo apt-add-repository ppa:paskal-07/softethervpn 
 
sudo apt-get update 
 
sudo apt-get upgrade 
 
sudo apt-get install softether-vpnserver

sudo apt-add-repository ppa:paskal-07/softethervpn && sudo apt-get update && sudo apt-get upgrade && sudo apt-get install softether-vpnserver

wˤ}l

sudo /home/hckao/vpncmd

vpncmd command - SoftEther VPN Command Line Management Utility Developer Edition
SoftEther VPN Command Line Management Utility (vpncmd command)
Developer Edition
Version 5.01 Build 9671   (English)
Compiled 2019/08/29 10:50:51 by buildd at bos02-arm64-038
Copyright (c) all contributors on SoftEther VPN project in GitHub.
Copyright (c) Daiyuu Nobori, SoftEther Project at University of Tsukuba, and SoftEther Corporation.
All rights reserved.

By using vpncmd program, the following can be achieved.

1. Management of VPN Server or VPN Bridge
2. Management of VPN Client
3. Use of VPN Tools (certificate creation and Network Traffic Speed Test Tool)

Select 1, 2 or 3: 1

Specify the host name or IP address of the computer that the destination VPN Server or VPN Bridge is operating on.
By specifying according to the format 'host name:port number', you can also specify the port number.
(When the port number is unspecified, 443 is used.)
If nothing is input and the Enter key is pressed, the connection will be made to the port number 443 of localhost (this computer).
Hostname of IP Address of Destination: 

If connecting to the server by Virtual Hub Admin Mode, please input the Virtual Hub name.
If connecting by server admin mode, please press Enter without inputting anything.
Specify Virtual Hub Name: 










Choose 1 and keep hitting enter for default settings till you get a prompt where you type in

(1ëOJq{]mAzJ)


1
ServerPasswordSet

VPN Server>ServerPasswordSet
ServerPasswordSet command - Set VPN Server Administrator Password
Please enter the password. To cancel press the Ctrl+D key.


*****************************

oftEtherVPN Daily Builds.
To install SoftEtherVPN type in terminal:
sudo apt-add-repository ppa:paskal-07/softethervpn && sudo apt-get update && sudo apt-get upgrade && sudo apt-get install softether-vpnserver


̷ӤUOާ@


Uɮ,sb ? /usr/local


?sudo tar zxvf softether.tar.gz

pi@raspberrypi:/usr/local $ cd vpnserver/

sudo make

cd /usr/local/vpnserver
?
sudo chmod 600 *
?
sudo chmod 700 vpncmd vpnserver


sudo nano /etc/init.d/vpnserver


#!/bin/sh
# chkconfig: 2345 99 01
# description: SoftEther VPN Server
DAEMON=/usr/local/vpnserver/vpnserver
LOCK=/var/lock/vpnserver
test -x $DAEMON || exit 0
case "$1" in
start)
$DAEMON start
touch $LOCK
;;
stop)
$DAEMON stop
rm $LOCK
;;
restart)
$DAEMON stop
sleep 3
$DAEMON start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit 0


Now, we will need to change the permissions so that the script will run on start up.

1
2
sudo chmod 755 /etc/init.d/vpnserver
sudo update-rc.d vpnserver defaults


pi@raspberrypi:/usr/local/vpnserver $ sudo update-rc.d vpnserver defaults
insserv: warning: script 'vpnserver' missing LSB tags and overrides

|X{warning ,z|


(At this point, rpi may complain about? missing LSB tags and overrides.?

Dont worry, it is just insserv not happy that the top of that script does not have the optional init info. It will still run.)



Now, to start, stop or restart vpnserver manually, you can do this:

1
2
3
sudo /etc/init.d/vpnserver start ? ? ? #to start vpn
sudo /etc/init.d/vpnserver stop? ? ? ? #to stop vpn
sudo /etc/init.d/vpnserver restart ? ? #to restart vpn

But before we can continue on setting up the nitty gritty of the vpn server,?

we will need to set a password for the admin account.


pi@raspberrypi:/usr/local/vpnserver $ su
Password:?

root@raspberrypi:/usr/local/vpnserver# ./vpnserver start
The SoftEther VPN Server service has been started.



1
sudo /usr/local/vpnserver/vpncmd

Choose 1 and keep hitting enter for default settings till you get a prompt where you type in

(1ëOJq{]mAzJ)


1
ServerPasswordSet

VPN Server>ServerPasswordSet
ServerPasswordSet command - Set VPN Server Administrator Password
Please enter the password. To cancel press the Ctrl+D key.





7.6.2 Uninstallation in Linux
To uninstall the Linux version of VPN Server when vpnserver is registered as a service, you must perform the following operation.
* Execute the?/etc/init.d/vpnserver stop?command to stop VPN Server.
* Execute the?/sbin/chkconfig --del vpnserver?command to delete registration of vpnserver as a service.
* Delete the?/etc/init.d/vpnserver?file.
After performing the above operation, delete the directory where vpnserver is installed.




























