Results 1 to 10 of 10
-
7th Mar 2012, 09:19 AM #1OPMember
any guides to install a open vpn
hi there i am looking for a simple noobish guide to install open vpn on my dedi
so i can use the dedis ip to server the internet on my home pc is this possible
tia for any help with thisjetli68 Reviewed by jetli68 on . any guides to install a open vpn hi there i am looking for a simple noobish guide to install open vpn on my dedi so i can use the dedis ip to server the internet on my home pc is this possible tia for any help with this Rating: 5
-
7th Mar 2012, 09:38 AM #2Banned
os?
-
7th Mar 2012, 09:40 AM #3OPMember
oh sorry its for Ubuntu mate
-
8th Mar 2012, 05:35 PM #4Member
In ubuntu, it's simple.
I will assume you have 10.04 and higher. I have no experience to the earlier versions.
First, install the required components, I do it this way:
1. apt-get update -y (I will always do this first, more of an impulse)
2. apt-get install openvpn nano wget iptables -y
3. copy some openvpn files
cp -R /usr/share/doc/openvpn/examples/easy-rsa/ /etc/openvpn/
4. go to the directory to set your certificates
cd /etc/openvpn/easy-rsa/2.0/
source ./vars
./clean-all
./build-ca (this will ask you a few things, just answer it)
./build-key-server server (this will ask you a few things, just answer it)
./build-dh
5. upload your server config file to the /etc/openvpn directory
6. run openvpn using this command - service openvpn start
7. create iptables, depending on the subnet you use in the openvpn config, I do it using this command:
iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -o venet0 -j SNAT --to vpsIPhere
I used 10.0.0.0 as a subnet.
This works assuming you already have tun/tap enable by your host.
If this post helped, kindly give me a like
-
8th Mar 2012, 05:38 PM #5OPMember
thanks mate i got a dedicated box not sure if tun/tap is enabled
i will give this a shot thanks
-
8th Mar 2012, 06:28 PM #6Member
You can check it using this command:
cat /dev/net/tun
If it says "file descriptor in bad state" then you have tun/tap.
Also, you can integrate your openvpn to scripts for authentication if you have clients.
---------- Post added at 06:28 PM ---------- Previous post was at 06:23 PM ----------
Oh,btw,I'll be up in the next few hours, just post on this thread should you have some concerns and I'll walk you through it.
-
8th Mar 2012, 11:42 PM #7Member
^ how to integrate some scripts for authentication mate? like clients won't be able to share their accounts.
-
8th Mar 2012, 11:50 PM #8MemberWebsite's:
imageditings.com shimory.com uniquerelease.comis there available for Windows tutorial?
-
9th Mar 2012, 04:56 PM #9MemberWebsite's:
satiq.netHow to install OpenVPN on a Debian/Ubuntu VPS instantly
Code:wget http://vpsnoc.com/scripts/debian-openvpn.sh chmod +x debian-openvpn.sh ./debian-openvpn.sh
-
9th Mar 2012, 05:16 PM #10OPMember
thanks
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Selling] uri (dot) mn, guides (dot) us (dot) com, webcam (dot) im
By erandi in forum Completed TransactionsReplies: 0Last Post: 1st Mar 2012, 02:51 PM -
Need guides to develop Api
By iconwebservices in forum Web Application/Script SupportReplies: 0Last Post: 29th Sep 2011, 07:45 PM -
Safety Guides
By upnorth in forum General DiscussionReplies: 0Last Post: 7th Jul 2011, 12:02 AM -
Need to install Open VPN 2.1
By DJ7 in forum Server ManagementReplies: 9Last Post: 21st Dec 2010, 01:38 AM -
Web Hosting Guides from HostGee.Com
By hostgee in forum Tutorials and GuidesReplies: 3Last Post: 15th Mar 2010, 05:47 AM
themaCreator - create posts from...
Version 3.47 released. Open older version (or...