Results 1 to 4 of 4
  1. #1

    HELP! OpenVPN installed. Now need to remove client access. How? Centos 5

    I installed OpenVPN in my Centos 5.. using this script :

    "wget www(dot)intovps(dot)com/scripts/
    Make the script executable:
    chmod +x
    Run the script

    and added about 10client... with easy script

    my question

    1. how to delete/disable client from connect to my VPN server?
    2. how to view/print all openvpn user/client list? (not connected/connected client)

    Thank you so much...

  2. #2
    Hi Ardy,

    As far as i'm aware OpenVPN uses users that are created on the system, So if you login to OpenVPN with the login of 'Darryn' there will be a system account named 'Darryn' so you will just have to delete him with the command 'sudo userdel Darryn' and this should prevent him from using the VPN software again. (You can test this just to be safe by creating a new user with 'sudo useradd Billy' and set a password with 'sudo passwd billy'.

    And to list the users just use the command 'cat /etc/passwd' will generate a list of all accounts including default system accounts such as ftp. To output the list with just the names use this command 'cat /etc/passwd | cut -d ":" -f1'
    █ | Megahertz Hosting
    | Quality High Performance KVM & Xen Virtual Private Servers.
    █ | Latest E3 CPU's | Raid-10 SSDs | 99.95%+ Uptime
    | 24/7/365 Support | Our Locations are Philadelphia | Buffalo | Phoenix.

  3. #3
    and your can revoke a old certificate and generate a news certificate to new user

  4. #4
    Best way to openvpn accounting is using FreeRADIUS or radius with IBSng user accounting system

Similar Threads

  1. Need Help on OpenVPN Access Server Client gateway configuration
    By sudipmaity in forum Dedicated Server
    Replies: 3
    Last Post: 10-04-2013, 02:15 AM
  2. Need Help on OpenVPN Access Server Client gateway configuration
    By sudipmaity in forum Systems Management Requests
    Replies: 3
    Last Post: 07-30-2013, 01:42 AM
  3. Give access to OpenVPN account without giving access to SSH?
    By CuriosityHosting in forum Hosting Security and Technology
    Replies: 6
    Last Post: 09-04-2012, 08:35 PM
  4. OpenVPN and PPTP on VPS installed
    By be different in forum VPS Hosting
    Replies: 21
    Last Post: 09-07-2011, 02:26 AM
  5. Replies: 2
    Last Post: 03-11-2011, 03:39 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