Žiadny popis

Benj Dag f035775047 restart all services at the end of install 7 rokov pred
README.md 39abb55350 corrected readme 7 rokov pred
bash.bashrc 9c143247e1 7 rokov pred
caddy.service 2d7b0030e1 changed stuffs 7 rokov pred
config.json ca2c6fc7a1 7 rokov pred
getconfig.sh 85c1c5568c changed links to github 7 rokov pred
globe.txt 2639cc3c51 fixed dhcp 7 rokov pred
haproxy.cfg 2d7b0030e1 changed stuffs 7 rokov pred
hpi.txt 7c63e56d7d 7 rokov pred
index.html c5736a86a4 7 rokov pred
injector.txt f035775047 restart all services at the end of install 7 rokov pred
ip6tables-vpn.sh 2d7b0030e1 changed stuffs 7 rokov pred
iptables-vpn.sh e2c7e3d7f7 some changes 7 rokov pred
newuser.sh 7c2c7f6612 7 rokov pred
openvpn.sh 7c2c7f6612 7 rokov pred
setup.sh f035775047 restart all services at the end of install 7 rokov pred
sony-domains.txt f0c25d5632 7 rokov pred
sprunge.sh 0413006944 7 rokov pred
squid.conf 2d7b0030e1 changed stuffs 7 rokov pred
squid3.conf 980ca1acb4 fixed a bunch of stuff 7 rokov pred
tap_soft.interface e2c7e3d7f7 some changes 7 rokov pred
tmux.conf e01c2ebb08 7 rokov pred
tnt.txt 2639cc3c51 fixed dhcp 7 rokov pred
udp.txt 7c63e56d7d 7 rokov pred
update-settings.sh ca2c6fc7a1 7 rokov pred
wordlist.txt 0413006944 7 rokov pred

README.md

Readme

A shell script to install VPN using SoftEther on Ubuntu VPS like DigitalOcean now requires Ubuntu 16.04 or Debian Jessie or higher

Some parts adapted to Google Cloud Engine VMs

Execution

  • Execution for installation and setup
wget -O - bit.ly/se-vpnsetup | sudo bash

This script fetches the SoftEtherVPN Server Source Code from github After SE-VPN is built, it setups the SE-VPN server.

The following are done:

  • adds a VirtualHub named VPN
  • adds a user to the hub VPN with the username vpn and password vpn
  • Creates a tap device called soft for local bridging
  • And bridges it to the hub VPN.
  • The tap device is initialized with ip address of 192.168.199.1/24

DNSMasq is installed to provide DNS and DHCP to the VPN Clients

IP tables are configured to provide DDOS protection and port redirection:

  • TCP ports: 5242,4244,9200,9201,21,137,8484,82 to-port 995
  • to allow SE-VPN clients to connect to the TCP ports
  • and to allow OpenVPN clients to connect to both TCP and UDP ports

Haproxy is installed to share port 80,443,8080 to squid, ssh and SE-VPN

Lastly: It outputs a URL with the Sample OpenVPN config which can be modified to connect to various ports.