Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Quentin Vallin <Quentin.Vallin@anuvu.com>
To: "wireguard@lists.zx2c4.com" <wireguard@lists.zx2c4.com>
Subject: [Question or feature request] Support multiple peer config file using something like /etc/wireguard/conf.d
Date: Tue, 19 Jul 2022 21:36:57 +0000	[thread overview]
Message-ID: <MN2PR10MB418992D0FB239AC2D3DC8B298E8F9@MN2PR10MB4189.namprd10.prod.outlook.com> (raw)

Hi, 

I'm trying to separate my peer configuration and automate it. 

I know that I can use the post hook PostUp = wg addconf /path/to/my/file

It would be easier to have a special path were wireguard can merge the config file together, like /etc/wireguard/conf.d/<interface_name>/<files>.conf. 

I don't find anything in the doc. Do you have a clue if that feature exists? Or if that feature is on the backlog?

Thank you for your amazing tool !

Quentin.

             reply	other threads:[~2022-08-23 13:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-19 21:36 Quentin Vallin [this message]
2022-08-23 16:20 ` Roman Mamedov

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=MN2PR10MB418992D0FB239AC2D3DC8B298E8F9@MN2PR10MB4189.namprd10.prod.outlook.com \
    --to=quentin.vallin@anuvu.com \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).