Include directive to support "conf.d/*" and the like
Jason A. Donenfeld
Jason at zx2c4.com
Sat Apr 14 03:47:57 CEST 2018
This also came up in another thread I was replying to earlier tonight.
While one way indeed is to have an 'include' directive, it seems
simple enough to just do something like:
$ wg setconf wg0 <(cat /etc/wireguard/mysite.conf.d/*.conf)
And then you can have various fragments in there like:
And so forth. Would this be an acceptable solution for you?
More information about the WireGuard