On Sun November 4 2007 16:33, Theo v. Werkhoven wrote: > Sun, 04 Nov 2007, by [EMAIL PROTECTED]: > > Hi, > > > > My department switched last week to openVPN at > > the firewall and it is closing the SSH port. > > I can connect to the server as root running > > "openvpn --config client.ovpn" (with the config file provided > > by the department) and everything seems to work, > > even NX, as long as I keep that connection open. > > > > But I would like to use a GUI tool to make the > > connection more convenient for the students in my lab. > > [..] > > > Is there another GUI, like KnetworkManager, that starts an > > openVPN connection without requiring root password? > > Add the user to sudoers > > User_Alias VPNusers = user1, user2 > VPNusers ALL (ALL) /usr/sbin/rcopenvpn > > Then make a desktop link to a short script and make sure you check > 'run in a terminal': > > #!/bin/sh > if ! /sbin/checkproc /usr/sbin/openvpn; then > /usr/bin/sudo /usr/sbin/rcopenvpn start > elif /sbin/checkproc /usr/sbin/openvpn; then > /usr/bin/sudo /usr/sbin/rcopenvpn stop > fi > > Put your config file in /etc/openvpn/ and it will be used by the init > script.
Thanks for the detailed instructions. I was thinking of trying something like that if I don't get a GUI tool that works, but I didn't know about rcopenvpn. I notice that it requires the configuration file in /etc/openvpn to be called *.conf, which I changed in my file. This may be the way to go. -- Carlos FL Who is General Failure, and why is he reading my disk? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
