Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PSK #23

Open
psxde opened this issue Sep 29, 2022 · 6 comments
Open

PSK #23

psxde opened this issue Sep 29, 2022 · 6 comments

Comments

@psxde
Copy link

psxde commented Sep 29, 2022

Is there an option to include a Preshared Key to the ESP Wireguard Tunnel?

@tkndrm
Copy link

tkndrm commented Oct 1, 2022

hi, i guess shouldn't be that difficult to implement.
Seems like there just no way to define it with begin().

https://github.com/ciniml/WireGuard-ESP32-Arduino/search?q=preshared

@zjonesz
Copy link

zjonesz commented Nov 25, 2022

Did you @psxde manage to get it working with PSK?

@brummbaer
Copy link

Hi, I am now passing the preSharedKey to the "begin" and have adjusted the code to do so. However, I can't get it to work in general. I am using autoConnect. Has anyone ever gotten this to work with ESP32? Could use some help. Thanks

@tkndrm
Copy link

tkndrm commented Nov 30, 2022

Hi, I am now passing the preSharedKey to the "begin" and have adjusted the code to do so.

nice, can you pls share the code and adjustments?

@kienvu58
Copy link

kienvu58 commented Dec 3, 2022

Hi, I am now passing the preSharedKey to the "begin" and have adjusted the code to do so.

nice, can you pls share the code and adjustments?

I've adjusted the code to allow to specify a preshared key. Check out my fork: https://github.com/kienvu58/WireGuard-ESP32-Arduino.git

@absemetov
Copy link

absemetov commented Jan 23, 2023

@kienvu58 Thanks code work!
Please add to wireguardif.c

//#include "tcpip_adapter.h"
#include "esp_netif.h"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants