Results 1 to 4 of 4
-
10-02-2013, 11:33 AM #1Newbie
- Join Date
- Sep 2013
- Posts
- 5
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/ovpn_install_script.sh
Make the script executable:
chmod +x ovpn_install_script.sh
Run the script
./ovpn_install_script.sh"
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...
-
10-02-2013, 12:13 PM #2Junior Guru
- Join Date
- Jun 2010
- Posts
- 178
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.
-
10-02-2013, 01:07 PM #3Newbie
- Join Date
- Sep 2013
- Posts
- 11
and your can revoke a old certificate and generate a news certificate to new user
-
10-02-2013, 01:42 PM #4Newbie
- Join Date
- Sep 2013
- Location
- Iran
- Posts
- 16
Best way to openvpn accounting is using FreeRADIUS or radius with IBSng user accounting system
Similar Threads
-
Need Help on OpenVPN Access Server Client gateway configuration
By sudipmaity in forum Dedicated ServerReplies: 3Last Post: 10-04-2013, 02:15 AM -
Need Help on OpenVPN Access Server Client gateway configuration
By sudipmaity in forum Systems Management RequestsReplies: 3Last Post: 07-30-2013, 01:42 AM -
Give access to OpenVPN account without giving access to SSH?
By CuriosityHosting in forum Hosting Security and TechnologyReplies: 6Last Post: 09-04-2012, 08:35 PM -
OpenVPN and PPTP on VPS installed
By be different in forum VPS HostingReplies: 21Last Post: 09-07-2011, 02:26 AM -
cant remove package via yum - centos - howto manually remove files and rebuild rpm db
By o-dog in forum Hosting Security and TechnologyReplies: 2Last Post: 03-11-2011, 03:39 AM