Feature Request: Add "include" directive to config file

Igor Martinovski igor at ownmail.net
Fri Jul 26 00:38:21 CEST 2019

It would be nice if the config parser could support an include directive such that each peer configuration can be kept in a separate file. 

This would allow easier management of a large number of peers. It would also serve as a way of having a friendly name for each peer or peers by the file name.

Sample below:

Address =
PrivateKey = ...

PublicKey =...
AllowedIPs =
Endpoint = ...

# append a config file

# include all files in this directory

  Igor M.

More information about the WireGuard mailing list