Starting OpenVPN client on CentOS 6.2 at Boot time

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
testmiss123
OpenVpn Newbie
Posts: 11
Joined: Wed May 02, 2012 4:00 am

Starting OpenVPN client on CentOS 6.2 at Boot time

Post by testmiss123 » Tue May 08, 2012 2:16 am

Hi,

Currently, I manually start the OpenVPN client with the command, /etc/init.d/openvpn start client

I want this to startup at boot time. How do I do this? Do I just add the line:

/etc/init.d/openvpn start client to the /etc/rc.local file?

This seems to do the trick, but a bit slow. Is this a good approach?

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Starting OpenVPN client on CentOS 6.2 at Boot time

Post by maikcat » Tue May 08, 2012 6:25 am

hi there,

check out the chkconfig command and ntsysv utility.

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

Post Reply