Module paracrine.services.wireguard.common
Expand source code
from ...helpers.config import config_path
wg_config = "/etc/wireguard"
private_key_file = f"{wg_config}/privatekey"
public_key_file = f"{wg_config}/publickey"
def public_key_path(name):
return config_path() + f"/wireguard-public-{name}.key"
Functions
def public_key_path(name)
-
Expand source code
def public_key_path(name): return config_path() + f"/wireguard-public-{name}.key"