mirror of
https://github.com/aramperes/onetun.git
synced 2025-09-09 17:38:32 -04:00
Support pre-shared key
This commit is contained in:
parent
43a20ef6b3
commit
653c314409
3 changed files with 26 additions and 1 deletions
|
@ -221,7 +221,7 @@ impl WireGuardTunnel {
|
|||
Tunn::new(
|
||||
config.private_key.clone(),
|
||||
config.endpoint_public_key.clone(),
|
||||
None,
|
||||
config.endpoint_preshared_key,
|
||||
config.keepalive_seconds,
|
||||
0,
|
||||
None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue