暂无描述

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.