/etc/openvpn/easy-rsa/keys/Default.txt: Permission denied "

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

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

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
jacobtribe
OpenVpn Newbie
Posts: 1
Joined: Fri Sep 02, 2016 10:01 pm

/etc/openvpn/easy-rsa/keys/Default.txt: Permission denied "

Post by jacobtribe » Fri Sep 02, 2016 10:07 pm

Hi, please can someone help me before I have a mental breakown. When i edit the file nano /etc/openvpn/easy-rsa/keys/Default.txt i keep getting the message /etc/openvpn/easy-rsa/keys/Default.txt: Permission denied. In the file i'm entering
client

dev tun
proto udp
remote 192.168.x.xx 1194
resolv-retry infinite
nobind
persist-key
persist-tun
mute-replay-warnings
ns-cert-type server
key-direction 1
cipher AES-128-CBC
comp-lzo
verb 1
mute 20

the x is my pi's ip address im just not putting it on here. can someone see anything that would cause those errors. Thank You :)

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: /etc/openvpn/easy-rsa/keys/Default.txt: Permission denied "

Post by TinCanTech » Sat Sep 03, 2016 12:05 am

jacobtribe wrote: i edit the file nano /etc/openvpn/easy-rsa/keys/Default.txt <..> In the file i'm entering
client
Don't do that !

Edit your config file:

Code: Select all

nano /etc/openvpn/client.conf
jacobtribe wrote:i keep getting the message /etc/openvpn/easy-rsa/keys/Default.txt: Permission denied
You must be root ..

You should read this:
HOWTO: For OpenVPN Community Edition

Post Reply