Script to build SoftetherVPN server without SecureNAT.
direct bridging without secure nets allows for server2client connections.
When using v4
- Download the two files and runs
cd ~ &&\
wget https://raw.githubusercontent.com/kuwacom/SoftetherVPN-without-SecureNAT/main/installer-v4-first.sh &&\
wget https://raw.githubusercontent.com/kuwacom/SoftetherVPN-without-SecureNAT/main/installer-v4-second.sh
Run the first script, "installer-v4-first.sh"
bash installer-v4-first.sh
- VPN Server Settings
If you have come this far and cannot get into VPNcmd, please type the this command
/usr/local/vpnserver/vpncmd /server localhost
Please execute the commands as written in the instructions
===== Please enter the following code to vpncmd =====
ServerPasswordSet <Your admin password>
HubDelete DEFAULT
HubCreate vpn-hub /PASSWORD:<hub password>
BridgeCreate vpn-hub /DEVICE:vpn /TAP:yes
Hub vpn-hub
GroupCreate Admin /REALNAME:none /NOTE:none
UserCreate <user name> /GROUP:Admin /NOTE:none /REALNAME:none
UserPasswordSet <user name> /password:<user password>
exit
example
in this case, user-name:vpn
user-pass:vpn
ServerPasswordSet vpn
HubDelete DEFAULT
HubCreate vpn-hub /PASSWORD:vpn
BridgeCreate vpn-hub /DEVICE:vpn /TAP:yes
Hub vpn-hub
GroupCreate Admin /REALNAME:none /NOTE:none
UserCreate vpn /GROUP:Admin /NOTE:none /REALNAME:none
UserPasswordSet vpn /password:vpn
exit
- "installer-v4-second.sh"
The second script, "installer-v4-second.sh" is also executed.
bash installer-v4-second.sh
*When all is done, the system will be rebooted
use prototype
after building, connect with the Server Administration Manager and create a tap with the bridge name "vpn".