bubuntux / nordlynx

GNU General Public License v3.0
192 stars 43 forks source link

Allow env variable to change name of wg0.conf file #157

Closed cmdpedro closed 5 months ago

cmdpedro commented 7 months ago

On the host I'm enabling wireguard debugging (echo module wireguard +p > /sys/kernel/debug/dynamic_debug/control) to register in syslog all messages.

It would be great if we could change the filename of wg0.conf via an environment variable for instance. In doing so we'd read on syslog something like:

wireguard: nordlynx-wg: Keypair 40989 destroyed for peer 164

instead of:

wireguard: wg0: Keypair 40989 destroyed for peer 164

I'm requesting this as on the host I already have wireguard with name wg0, therefore not allowing me to distinguish between host wireguard and the docker container wg0.

github-actions[bot] commented 5 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

cmdpedro commented 1 month ago

Bumping this one. By the use of an environment variable, this should not be difficult to implement.