Нема описа

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

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.