Skip to content

Added HTTP over Wireguard example #14

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ulikoehler
Copy link

Based on my blogpost.
https://techoverflow.net/2021/12/31/esp32-wireguard-example-with-http-access-over-wireguard-platformio/

This example does not use or connect to SORACOM so IMO it will be easier to understand what it does for applications like MQTT or HTTP.

@ciniml
Copy link
Owner

ciniml commented May 29, 2022

Sorry for late response.

Nice work!

Could you add README (a link to your blogpost with some description) to the example directory?

I will add link from the top README to this example after that.

@ulikoehler
Copy link
Author

@ciniml Sure, will do that ASAP :-)

@brummbaer
Copy link

brummbaer commented Nov 28, 2022

Hello, may I ask if you can try your example adapted to autoConnect? I can't get this to work unfortunately. On its own your example works but autoConnect does something different. Thank you very much https://hieromon.github.io/AutoConnect/index.html

@distancerunner
Copy link

I'm a little bit confused. I get a bad handshake error: my config looks a little bit different

[Interface]
PrivateKey = ABC=
Address = 10.6.0.18/24
DNS = 9.9.9.9, 149.112.112.112

[Peer]
PublicKey = ABC=
PresharedKey = F6DkH6QzU2+om3blmYTUq6Eefq7rw1v037rzhl/areE=
Endpoint = abc.abc.de:1194
AllowedIPs = 0.0.0.0/0, ::0/0

You added allowed IPs Ip to the config of the ESP. I added Address = 10.6.0.18/24. Was there a change in wireguard configs after an update?

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

Successfully merging this pull request may close these issues.

None yet

4 participants