Activity Stream
48,167 MEMBERS
62341 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 10 of 10
  1.     
    #1
    Member

    Default 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
    jetli68 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

  2.   Sponsored Links

  3.     
    #2
    Banned
    os?

  4.     
    #3
    Member
    oh sorry its for Ubuntu mate

  5.     
    #4
    Member
    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

  6.     
    #5
    Member
    thanks mate i got a dedicated box not sure if tun/tap is enabled

    i will give this a shot thanks

  7.     
    #6
    Member
    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.

  8.     
    #7
    Member
    ^ how to integrate some scripts for authentication mate? like clients won't be able to share their accounts.

  9.     
    #8
    Member
    Website's:
    imageditings.com shimory.com uniquerelease.com
    is there available for Windows tutorial?

  10.     
    #9
    Member
    Website's:
    satiq.net
    How 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
    Source: http://www.specialvps.com/install-op...vps-instantly/

  11.     
    #10
    Member
    thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Selling] uri (dot) mn, guides (dot) us (dot) com, webcam (dot) im
    By erandi in forum Completed Transactions
    Replies: 0
    Last Post: 1st Mar 2012, 02:51 PM
  2. Need guides to develop Api
    By iconwebservices in forum Web Application/Script Support
    Replies: 0
    Last Post: 29th Sep 2011, 07:45 PM
  3. Safety Guides
    By upnorth in forum General Discussion
    Replies: 0
    Last Post: 7th Jul 2011, 12:02 AM
  4. Need to install Open VPN 2.1
    By DJ7 in forum Server Management
    Replies: 9
    Last Post: 21st Dec 2010, 01:38 AM
  5. Web Hosting Guides from HostGee.Com
    By hostgee in forum Tutorials and Guides
    Replies: 3
    Last Post: 15th Mar 2010, 05:47 AM

Tags for this Thread

BE SOCIAL