Skip to content

Softether VPN installer for Ubuntu/Debian with Nat And Ad Blocker and no logger

Notifications You must be signed in to change notification settings

hazemhak/softethernat

Repository files navigation

Softether VPN server installer script

version for public use. This should install and configure everything with one command.

From there you can change the server admin password and add/remove users from the Softether Server Manager GUI as desired.

As the root user run the below command via ssh.


Softether VPN server installed as service with custom systemd script
Dnsmasq DHCP server. This improves the performance of softether vpn vs the built in “securenat DHCP server”.


Custom Iptables script to automate any rules and port forwarding

Adblocking built in via hosts file thanks to Nomadturk

Logless VPN mod. With my custom script, even the stuff Softether doesn’t natively support disabling is prevented and purged.

See here for the details.

wget https://raw.githubusercontent.com/hazemhak/softethernat/master/softether-vpnserver-install.sh; chmod a+x softether-vpnserver-install.sh && bash softether-vpnserver-install.sh;

To enable, start,and check status of the systemd Softether vpn service.

systemctl start vpnserver
systemctl stop vpnserver
systemctl restart vpnserver
systemctl status vpnserver

To enable, start,and check status of the systemd Dnsmasq DHCP service. This is autostarted by vpnserver service but if needed the below are the commands to manage it.

systemctl start dnsmasq
systemctl stop dnsmasq
systemctl restart dnsmasq
systemctl status dnsmasq

Default vpn user is 'test' with password 'softethervpn'

Default Server administrator password is 'softethervpn'

To manage the server via Windows Server GUI grab the Server Manager client from https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/releases/download/v4.29-9680-rtm/softether-vpnserver_vpnbridge-v4.29-9680-rtm-2019.02.28-windows-x86_x64-intel.exe


Default user "test"

Default user pass "softethervpn"

secret shared :"vpn"

for  Server Administrator pass "softethervpn"

The iptables should look like the below:

iptables --list

It also installs 2 cronjobs to automatically purge logs and update adblocking hosts file.

 crontab -l

and Also install monit to monitor the server and vpnserver , dhcp server ,ssh server ,corn . and you can access it by 

http://x.x.y.y:2812

username : admin

password : admin

and also install webmin and you can access it by 

https://x.x.y.y:10000


Special thanks and shout out to the below blog posts authors. This script is a mashup of all the best things I found from all these posts. I used their posts for inspiration. I tweaked this to be the best combination of them all and valid for use today and in an installer script with my own personal touches to make it easy enough and fast for anyone to install and secure their online communications.

https://az.cokh.net/softether-vpn-server-on-a-nat-server/
http://blog.lincoln.hk/blog/2013/03/19/softether-on-vps/

About

Softether VPN installer for Ubuntu/Debian with Nat And Ad Blocker and no logger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages