Page 1 of 1

Wireguard set up

Posted: Sat Jun 13, 2020 3:34 pm
by Deleted User 7758
I'm trying to set up fireguard for VPN access to pinhole and next cloud from wan.
I'm trying to follow the instructions at
I got to the bit where I could add a config to a mobile client by using an onscreen QR code (yet to be tested) but when I got to the 'Adding multiple clients:' stage I get:

Code: Select all

jon@Odroid:~$ cd /etc/wireguard
-bash: cd: /etc/wireguard: Permission denied
jon@Odroid:~$ sudo cd /etc/wireguard
[sudo] password for jon: 
sudo: cd: command not found

Re: Wireguard set up

Posted: Sat Jun 13, 2020 9:06 pm
by Joulinar

many thanks for your message. You can't use sudo together with cd command. Why is explained on this link I quickly found on google ... found/1811

I would recommend to use root user to setup WireGuard.