mirror of
https://github.com/rosenpass/rosenpass.git
synced 2025-12-31 23:18:21 -08:00
added WireGuard config example to gen-config
This commit is contained in:
committed by
Karolin Varner
parent
284ebb261f
commit
7cece82119
@@ -361,7 +361,14 @@ impl Rosenpass {
|
||||
.collect(),
|
||||
key_out: Some("rp-key-out".into()),
|
||||
pre_shared_key: None,
|
||||
wg: None,
|
||||
wg: Some(WireGuard {
|
||||
device: "wirgeguard device e.g. wg0".into(),
|
||||
peer: "wireguard public key".into(),
|
||||
extra_params: vec![
|
||||
"extra params".into(),
|
||||
"passed to".into(),
|
||||
"wg set".into()
|
||||
] }),
|
||||
};
|
||||
|
||||
Self {
|
||||
|
||||
Reference in New Issue
Block a user