OpenVPN Setup. Linux Server/Windows Client

Published: 08 January 2015
on channel: nicsure
42,121
189

A tutorial on how to setup a personal use only VPN server.

VPNs mask your home IP address, bypass ISP throttling, bypass ISP site blocks, bypass ISP caching, bypass parental controls and can help you reach services in other countries that you cannot normally access. They also encrypt and tunnel all traffic from your home into 1 single data stream preventing your ISP monitoring anything you are doing. This doesn't mean your data is secure however as data may still leave the VPS in unencrypted form, so you still have to practice safe browsing.


Step 1. 00:01 Download/Install OpenVPN Client
https://openvpn.net/index.php/open-so...

Step 2. 01:37 Download/Install PuTTY
http://www.chiark.greenend.org.uk/~sg...

Step 3. 02:34 Setup VPS
https://www.digitalocean.com
root@vpsipaddress -P 22 -pw password -ssh
apt-get update
apt-get upgrade

Step 4. 06:59 Install Webmin
http://www.webmin.com/deb.html
apt-get install -f
http://vpsipaddress:10000/

Step 5. 10:31 Setup Initial Firewall

Step 6. 11:02 Install OpenVPN Server
apt-get install openvpn

Step 7. 11:38 Install OpenVPN Webmin Module
http://www.webmin.com/cgi-bin/search_...

Step 8. 12:43 Configure Certificates

Step 9. 15:01 Create VPN Instance
10.50.0.0
255.255.255.0
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
push "redirect-gateway def1 bypass-dhcp"

Step 10. 17:59 Enable Packet Forwarding
nano /etc/sysctl.conf
reboot

Step 11. 18:57 Configure NAT
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
iptables-save > /etc/iptables.up.rules

Step 12. 20:43 Configure OpenVPN Client.

--------------------------------------------------

Music: Jesus on E's by Echo

Don't like the music ?
1. Tough!
2. Try muting it. DUH!!


Watch video OpenVPN Setup. Linux Server/Windows Client online without registration, duration hours minute second in high quality. This video was added by user nicsure 08 January 2015, don't forget to share it with your friends and acquaintances, it has been viewed on our site 42,121 once and liked it 189 people.