Skip to content

kuwacom/SoftetherVPN-without-SecureNAT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SoftetherVPN-without-SecureNAT

Script to build SoftetherVPN server without SecureNAT.

What you get

direct bridging without secure nets allows for server2client connections.

HOW TO USE

When using v4

  1. 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
  1. VPN Server Settings
    image
    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
  1. "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". image

About

Script to build SoftetherVPN server without SecureNAT

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages