Superior Administrator _.:=iTake=:._ Posted February 21, 2019 Superior Administrator Report Posted February 21, 2019 OpenVPN installer for Debian, Ubuntu, Fedora, CentOS and Arch Linux. This script will let you setup your own secure VPN server in just a few seconds. You can also check out This is the hidden content, please Sign In or Sign Up , a simple, safer, faster and more modern VPN protocol. Usage First, get the script and make it executable : curl -O https://raw.githubusercontent.com/Angristan/openvpn-install/master/openvpn-install.sh chmod +x openvpn-install.sh Then run it : ./openvpn-install.sh You need to run the script as root and have the TUN module enabled. The first time you run it, you'll have to follow the assistant and answer a few questions to setup your VPN server. When OpenVPN is installed, you can run the script again, and you will get the choice to : Add a client Remove a client Uninstall OpenVPN In your home directory, you will have .ovpn files. These are the client configuration files. Download them from your server and connect using your favorite OpenVPN client. Features Installs and configures a ready-to-use OpenVPN server Iptables rules and forwarding managed in a seamless way If needed, the script can cleanly remove OpenVPN, including configuration and iptables rules Customisable encryption settings, enhanced default settings (see This is the hidden content, please Sign In or Sign Up below) OpenVPN 2.4 features, mainly encryption improvements (see This is the hidden content, please Sign In or Sign Up below) Variety of DNS resolvers to be pushed to the clients Choice to use a self-hosted resolver with Unbound (supports already existing Unbound installations) Choice between TCP and UDP NATed IPv6 support Compression disabled by default to prevent VORACLE. LZ4 and LZ0 algorithms available otherwise. Unprivileged mode: run as nobody/nogroup Block DNS leaks on Windows 10 Randomised server certificate name Choice to protect clients with a password (private key encryption) Many other little things! Source: This is the hidden content, please Sign In or Sign Up 3
SunRiseZone Posted February 21, 2019 Report Posted February 21, 2019 Last month I had look to this, seems to be updated... Thanks take! 1
Superior Administrator _.:=iTake=:._ Posted April 27, 2019 Author Superior Administrator Report Posted April 27, 2019 Running two servers with different configuration I hardcoded like this After a clean install with UDP mode clone server.conf into server2.conf (manual edit UDP => TCP mode) in server2.conf, change ip 10.8.0.1 to 10.9.0.1 add 10.9.0.1 in IPtables at line 838 or close to it, add sed -i 's|server2.conf' /lib/systemd/system/openvpn/server2.service service openvpn@server restart and service openvpn@server2 restart try lsof -i:1194 your port number, you will see both UDP & TCP openvpn services are running 1
Snr. Administrator Prom3th3uS Posted April 27, 2019 Snr. Administrator Report Posted April 27, 2019 Thanks for the tut
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now