How do I get wirguard wg-quick up wg0 to work?

When I follow instructions here:

https://www.linode.com/docs/networking/vpn/set-up-wireguard-vpn-on-ubuntu/

I get to the command wg-quick up wg0

This is what prints to the command line when I run the command:

wg-quick: true' is neither true nor false

and if I run wg show, I don't get any output.

What am I doing wrong?

2 Replies

wg-quick: true' is neither true nor false

Looks like you've got a typo in your config file 🥴

Some setting where you entered true' instead of true


Looking at the tutorial, perhaps this?

SaveConfig = true'

Thank you. That was it.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct