An open API service indexing awesome lists of open source software.

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

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**

![image](https://user-images.githubusercontent.com/83022348/170528332-52ce9585-2a61-4424-9b29-80931ce1038b.png)

**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".
![image](https://user-images.githubusercontent.com/83022348/170460804-25d9f3c9-b711-493f-8391-a2a8aa4a305d.png)