WireGuard Archive on lore.kernel.org
 help / color / Atom feed
From: David Steinn Geirsson <david@isnic.is>
To: Luis Ressel <aranea@aixah.de>
Cc: wireguard <wireguard@lists.zx2c4.com>
Subject: Re: 'wg syncconf' and interface addresses
Date: Wed, 18 Mar 2020 08:21:27 +0000 (GMT)
Message-ID: <2142983292.1223420.1584519687100.JavaMail.zimbra@sirona.isnic.is> (raw)
In-Reply-To: <20200317183459.4m4zlie3w3ga2lrv@vega>

----- Original Message -----
> From: "Luis Ressel" <aranea@aixah.de>
> To: "David Steinn Geirsson" <david@isnic.is>
> Cc: "wireguard" <wireguard@lists.zx2c4.com>
> Sent: Tuesday, March 17, 2020 6:34:59 PM
> Subject: Re: 'wg syncconf' and interface addresses

> On Tue, Mar 17, 2020 at 04:13:34PM +0000, David Steinn Geirsson wrote:
>> Is Address a valid key for WireGuard configuration, and if so should the wg tool
>> not parse and apply those changes as well?
> The wg-quick script uses an extension of the wg config file format, with
> config keys such as Address which aren't recognized by wg.
> If you wish to use a config file with both wg-quick and wg, you can use
> the "wg-quick strip" verb to remove wg-quick options from the config
> file. In some shells such as bash, this can be done quite comfortably:
> $ wg syncconf wg0 <(wg-quick strip wg0)

Thanks, I did not know about 'wg-quick strip'. I was thinking of some sed tricks
to remove these keys but that's much better.

> Cheers,
> Luis

      reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-17 16:13 David Steinn Geirsson
2020-03-17 18:34 ` Luis Ressel
2020-03-18  8:21   ` David Steinn Geirsson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2142983292.1223420.1584519687100.JavaMail.zimbra@sirona.isnic.is \
    --to=david@isnic.is \
    --cc=aranea@aixah.de \
    --cc=wireguard@lists.zx2c4.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://lore.kernel.org/wireguard \
	public-inbox-index wireguard

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git