https://github.com/kuwacom/softethervpn-without-securenat
Script to build SoftetherVPN server without SecureNAT
https://github.com/kuwacom/softethervpn-without-securenat
softethervpn without-securenat
Last synced: 3 months ago
JSON representation
Script to build SoftetherVPN server without SecureNAT
- Host: GitHub
- URL: https://github.com/kuwacom/softethervpn-without-securenat
- Owner: kuwacom
- Created: 2022-05-26T09:30:38.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-28T15:08:53.000Z (almost 2 years ago)
- Last Synced: 2025-01-17T06:26:46.725Z (5 months ago)
- Topics: softethervpn, without-securenat
- Language: Shell
- Homepage: https://kuwa.app
- Size: 45.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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**
```bash
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
bash installer-v4-first.sh
```
2. **VPN Server Settings**

**If you have come this far and cannot get into VPNcmd, please type the this command**
```bash
/usr/local/vpnserver/vpncmd /server localhost
```
*Please execute the commands as written in the instructions*
```
===== Please enter the following code to vpncmd =====
ServerPasswordSet
HubDelete DEFAULT
HubCreate vpn-hub /PASSWORD:
BridgeCreate vpn-hub /DEVICE:vpn /TAP:yes
Hub vpn-hub
GroupCreate Admin /REALNAME:none /NOTE:none
UserCreate /GROUP:Admin /NOTE:none /REALNAME:none
UserPasswordSet /password:
exit
```
example
in this case, `user-name:vpn` `user-pass:vpn`
```bash
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
```3. **"installer-v4-second.sh"**
The second script, "installer-v4-second.sh" is also executed.
```bash
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".
