mirror of
https://github.com/arampoire/onetun.git
synced 2026-01-16 12:00:24 -05: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