erwinbierens.com

Knowledge is Power
en nl

Route all traffic by OpenVPN

2018-12-11 1 min read Linux Security erwin
In October i posted a blog about setting up your OpenVPN server in 2 minutes. This blog is a addon to your existing configuration to route all traffic over the VPN. {{adsense}} Change server configuration go to the config file (/etc/openvpn/server.conf) and add the following lines: push "redirect-gateway def1" push "dhcp-option DNS " push "dhcp-option DNS 1.1.1.1" Restart your OpenVPN daemon sudo /etc/init.d/openvpn restart Change client configuration Change your client config, and add the following line Continue reading

Setup OpenVPN server in 2 minutes

2018-10-25 1 min read Linux erwin
With this script you can setup a OpenVPN server within 2 minutes. I really want to give credits to the owner of the script, but i don’t have a clue who wrote this. `wget https://git.io/vpn -O openvpn.sh` Run the installer: `sudo bash openvpn.sh` You can also do this in one command: `sudo wget https://git.io/vpn -O openvpn.sh && bash openvpn.sh` {{adsense}}