ExtraTorrent.cc - The Largest Bittorent SystemLogin   |   Register
Latest Articles
Most searched
Hot torrents
First Cams
View Torrent Info: Beauty and The Beast 2017 720p HD-TS x264-CPG
View Torrent Info: Kong.Skull.Island.2017.CAM.XviD-VAiN
View Torrent Info: The Shack 2017 HDCAM x264-iMLEAVING
View Torrent Info: T2.Trainspotting.2017.CAM.XViD-ETRG
Hot torrents
View Torrent Info: Monster.Trucks.2016.480p.HDRip.XViD.AC3-ETRG
View Torrent Info: Nick.2016.HDRip.XviD.AC3-EVO
View Torrent Info: Nobody.Walks.in.L.A.2016.HDRip.XviD.AC3-EVO
View Torrent Info: Evil In Her.2017.HDRip.XviD.AC3-EVO
Hot torrents
H264 X264
View Torrent Info: Cars.2006.720p.BluRay.x264.AAC-ETRG
View Torrent Info: Sing.2016.BluRay.720p.DTS.AC3.x264-ETRG
View Torrent Info: Vengeance.A.Love.Story.2017.720p.BRRip.x264.AAC-ETRG
View Torrent Info: Moana.2016.BluRay.1080p.DTS.AC3.x264-ETRG
Hot torrents
BluRay, 4k UHD
View Torrent Info: Hidden Figures 2016 Multi 1080p BluRay x264 DTSHD 7.1 -DDR
View Torrent Info: Passengers 2016 Multi UHD BluRay 2160p HEVC HDR10 DTSHD 5.1 -DDR
View Torrent Info: Dont Kill It 2016 BluRay 1080p x264 DTSHD5.1 -DDR
View Torrent Info: Warriors Gate 2016 1080p Bluray x264 DTSHD 5.1 -DDR
Hot torrents
View Torrent Info: Bates.Motel.S05E06.WEB-DL.x264-FUM[ettv]
View Torrent Info: Supergirl.S02E17.HDTV.x264-LOL[ettv]
View Torrent Info: Taken.2017.S01E05.HDTV.x264-KILLERS[ettv]
View Torrent Info: Quantico.S02E15.HDTV.x264-KILLERS[ettv]
View Torrent Info: Running Shaadi 2017 x264 DvDRip AC3 5.1 -DDR
View Torrent Info: Hidden.Figures.2016.1080p.BRRip.x264.Turkish.AC3-ETRG
View Torrent Info: Kabhi Khushi Kabhie Gham 2001 Bluray 1080p x264 DTSHD 5.1 -DDR
View Torrent Info: Kabhi Alvida Naa Kehna 2006 1080p Bluray x264 DTSHD 5.1 -DDR
To add new messages please Login or Register for FREE
Warning! Stop Government from Tracking Your Torrenting!
Your IP Address is   Location is United States
Your Internet Provider and Government can track your internet activity! Hide your IP and LOCATION with a VPN
ExtraTorrent strongly recommends using Trust.Zone VPN to anonymize your torrenting. It's FREE!

OpenVPN Guide

Post a Reply    Subscribe to Topic    
karakurachow avatar
Posted: Tue Oct 19, 2010 03:17
Author: Site Friend
Most of this guide assumes you are root.
1. Set up an environment with scripts in a usable place
find / |grep easy-rsa
cp -r /etc/openvpn/
in ubuntu/debian find / |grep easy-rsa showed this /usr/share/doc/openvpn/examples/easy-rsa/2.0
so you'd do cp -r /usr/share/doc/openvpn/examples/ /etc/openvpn
2. We need to generate a master CA file so go to the examples/easy-rsa/2.0 dir and execute
source vars
You will be prompted for info on the last command and warned on the second put in whatever you want or just hit enter as most of

them are prefilled with defaults.
3. Make a key for the server to use to authenticate itself to the clients with.
./build-key-server vpnserverkey
Again you will be prompted with the same information as last time, make sure that the common name is vpnserverkey and answer yes

to the two questions asked at the end.
4. Make a client key for each device you want to have a secure connection through or browse to anonamouse with.
./build-key desktop
./build-key laptop
./build-key ipod
Was what i put in, you can name your keys whatever just dont put spaces in the names. When it prompts for common name make sure

it matches the key name.
otherwise they can be left at defaults for the most part.
5. Generate DH parameters
6. copy the files you just made to the proper places.
ca.crt needs to be on all clients and the server cp keys/ca.crt /etc/openvpn/ and transfer to clients appropriate dir
ca.key needs to be on the server cp keys/ca.key /etc/openvpn/
dh1024.pem needs to be on the server cp keys/dh /etc/openvpn/
vpnserverkey.crt needs to be on the server cp keys/server.crt /etc/openvpn/
vpnserverkey.key needs to be on the server cp keys/server.key /etc/openvpn/
Client files other than ca.crt there are two for each device you wanted to add.
and so on for the others. These only need to be on the client so you can sftp/scp/whatever to transfer them to your clients

7. Edit the example configs. The server config comes gzipped so
cd /etc/openvpn/examples/sample-config-files/
gunzip server.conf.gz
Open server.conf in your favorite editor (vi or nano are common)
do a find and search for server.crt change the line that says
cert server.crt to cert vpnserverkey.crt
and the line that says
key server.key to key vpnserverkey.key
uncomment the line that says push "redirect-gateway def1 bypass-dhcp"
Look around atthe other options if you want you can change them though they can be left alone.
cp server.conf /etc/openvpn/
cp client.conf once for each device you have. find the line that starts with remote and put in your servers hostname/ip the port

can be left at 1194 unless you changed it in server.conf to something else. Find the cert and key lines again and name them in

each config the same as the key and crt files were named earlier.
Copy the client configs to your devices.
chmod 0600 all keys.
8. Forward traffic from vpn to the internet if it needs to get out of network. While there are a few ways to do this, the

easiest is through iptables rules

iptables -A INPUT -i tun0 -j ACCEPT
iptables -A INPUT -i eth0 -j ACCEPT
iptables -A FORWARD -s -i tun0 -o eth0 -j ACCEPT
iptables -t nat -A POSTROUTING -s -o eth0 -j MASQUERADE
iptables -A FORWARD -i eth0 -o tun0 -m state --state RELATED,ESTABLISHED -j ACCEPT
9. Enable ipv4 forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
10. Start the vpn
either use the startup scripts to run openvpn (example: /etc/init.d/openvpn start) or cd /etc/openvpn/;openvpn server.conf
Open your clients and connect. Now if everything went well you can browse from your servers ip automatically when you start your computer.

Post a Reply    

Forum Search

  search in post message
  search in topic subject

Home - Browse Torrents - Upload Torrent - Stat - Forum - FAQ - Login
ExtraTorrent.cc is in compliance with copyrights
BitCoin: 12DiyqsWhENahDzdhdYsRrCw8FPQVcCkcm
Can't load ExtraTorrent? Try our official mirrors: etmirror.com - etproxy.com - extratorrentonline.com - extratorrentlive.com
2006-2017 ExtraTorrent.cc2