Σχόλια 0

Το κείμενο του εγγράφου

Fedora 17Installing and running OpenVPN from console (root user)1) openvpn installation:#yum install openvpn2) Copy nsurname.key, nsurname.crt and ca.crt to /etc/openvpn/keys/directory3) copy nsurname.ovpn to/etc/openvpndirectory4) #chkconfig --level 2345 openvpn on5**) Preparing automatic script:#ln -s /lib/systemd/system/openvpn\@.service \/etc/systemd/system/multi-user.target.wants/openvpn\@nsurname.service6**) Starting demon#systemctl startopenvpn@nsurname.conf.service7) Running in a „screen” session#screen#openvpn --script-security 2 –config /etc/openvpn/nsurname.confCtrl+a and next "d" (detach)8) When we want to kill the connection we attach to screen by:#screen -xif there are more screen sessions open, we use:#screen -x IDwhere ID is number of our screen taken from 'screen -ls'(**) Probably there is no way to run openvpn as a daemon, if private key is password protected. Alternative

Configuring and running OpenVPN with Network Manager1) "NetworkManager VPN plugin for OpenVPN"(installation need ROOT privileges!!)Applications -> Add/Remove SoftwareIn search/filter box write „openvpn”, from the list of found matcheschoose "NetworkManager VPN plugin for OpenVPN" and click „Apply”2) Copy nsurname.key, nsurname.crt and ca.crt to $HOME/.cert directory.Files should have permissions set to write and read for owner only (600 forexample)3) In Activities -> Applications -> System Settings -> Network menu, a newconnection must be created of the type „OpenVPN”: