Results 1 to 13 of 13
  1. #1
    Join Date
    Jun 2014
    Posts
    384

    Install OpenVPN on Debain 7

    Can anyone please help me with a guide to install OpenVPN on VPS for single user please ? Also kindly help with instruction on how to use it on Ubuntu 14.04 once done. Thanks.

  2. #2
    Join Date
    Mar 2010
    Location
    Upstate New York
    Posts
    1,452
    Let me know if this is of some help:
    https://help.ubuntu.com/community/OpenVPN
    John Rasri
    Private Label Live Chat Provider For Resellers
    GotLiveChat.com
    White Label/Brand-able live chat software solutions

  3. #3
    Join Date
    Jan 2002
    Location
    Colombia, South America
    Posts
    527

    Suggest you install OpenVPN Access Server instead

    Instead of installing OpenVPN, I suggest that you install OpenVPN Access Server. The license for 2 concurrent users is free. I have OpenVPN Access Server on a 128 MB OpenVZ VPS running Ubuntu 14.04.1 and it works well. GL

    https://openvpn.net/index.php/access.../overview.html

  4. #4
    Join Date
    Jan 2010
    Location
    San Francisco
    Posts
    1,800
    Agreed. Install OpenVPN Access Server. It has a GUI admin to manage the server. Some instructions for Debian: http://techneuroti.com/how-to-instal...r-on-your-vps/

    Something missing from that tutorial is that OpenVPN AS creates the user "openvpn" so you'll need to set the password before logging into the admin panel, i.e. passwd openvpn

  5. #5
    Join Date
    Dec 2010
    Location
    127.0.0.1
    Posts
    5,732
    We use this on Ubuntu:

    Code:
    Enable TUN/TAP
    
    cd /home
    wget https://raw.github.com/Nyr/openvpn-install/master/openvpn-install.sh; chmod +x openvpn-install.sh; ./openvpn-install.sh
    
    Add more users: ./openvpn-install.sh
    
    apt-get update
    apt-get upgrade
    
    For 32bit OS
    wget http://swupdate.openvpn.org/as/openvpn-as-1.8.5-Ubuntu12.i386.deb; dpkg -i openvpn-as-1.8.5-Ubuntu12.i386.deb
    
    For 64bit OS
    wget http://swupdate.openvpn.org/as/openvpn-as-1.8.5-Ubuntu12.amd_64.deb; dpkg -i openvpn-as-1.8.5-Ubuntu12.amd_64.deb
    
    passwd openvpn
    
    Now you can access the admin panel by visiting
    https://yourip:943/admin

  6. #6
    I have a auto installer script, do you need ?

  7. #7
    Join Date
    Jun 2014
    Posts
    384
    Successfully installed. But it seems TUN/ TAP is disabled by RamNode (whose VPS I use). How to get them enabled ? Thanks for all you guidance and help.

  8. #8
    Join Date
    Jun 2014
    Posts
    384
    Enabled TUN/TAP from SolusVM. Thanks again.

  9. #9
    Join Date
    Jan 2010
    Location
    San Francisco
    Posts
    1,800
    See if the option to enable TUN/TAP is in SolusVM. If not, contact RamNode.

    EDIT: Posted at same time! Glad to hear everything's working.

  10. #10
    Join Date
    Jun 2014
    Posts
    384
    Thanks. A small glitch while configuring the client

    I got installed the open VPN client but not sure how to run it.

    openvpn --version command gave --->

    OpenVPN 2.3.2 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [eurephia] [MH] [IPv6] built on Feb 4 2014

    PS : I use Ubuntu 14.04

  11. #11
    Join Date
    Jun 2014
    Posts
    384
    Their website says

    Once the openvpn package is fetched from the Internet and installed, run the client with the --version argument to make sure that it is version 2.1:
    openvpn --version
    OpenVPN 2.1_rc15e x86_64-unknown-linux-gnu [...]
    [...]

  12. #12
    Quote Originally Posted by meetdilip View Post
    Successfully installed. But it seems TUN/ TAP is disabled by RamNode (whose VPS I use). How to get them enabled ? Thanks for all you guidance and help.
    use the following one-liner to verify if TUN support is enabled on the Debian system. if using a VPS (Virtual Private Server), some virtualization layers such as vServers and OpenVZ require TUN to be enabled on/from the host machine.

    Code:
    test ! -c /dev/net/tun && echo openvpn requires tun support || echo tun is available
    also for this to work you need to have CONFIG_TUN enabled in the kernel

  13. #13

    Need script

    Quote Originally Posted by suchii View Post
    I have a auto installer script, do you need ?
    I would be grateful if you could give me that script.

Similar Threads

  1. linux- debain 6 install flash and java
    By VZ2ANJohnson in forum Computers and Peripherals
    Replies: 0
    Last Post: 07-13-2011, 12:29 PM
  2. OpenVPN Install
    By MJimLay in forum Systems Management Requests
    Replies: 4
    Last Post: 10-20-2010, 06:51 AM
  3. OpenVPN Install needed
    By DephNet[Paul] in forum Employment / Job Offers
    Replies: 3
    Last Post: 07-01-2009, 02:22 PM
  4. need some one to install OpenVPN
    By -whynot- in forum VPS Hosting
    Replies: 5
    Last Post: 11-06-2008, 03:50 PM
  5. OpenVPN/pptpd - install
    By verloni in forum Employment / Job Offers
    Replies: 0
    Last Post: 08-25-2005, 05:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •