https://github.com/adokitkat/esp-wireguard-example
ESP-IDF Wireguard example
https://github.com/adokitkat/esp-wireguard-example
esp esp-idf esp32 espressif wireguard
Last synced: 5 months ago
JSON representation
ESP-IDF Wireguard example
- Host: GitHub
- URL: https://github.com/adokitkat/esp-wireguard-example
- Owner: adokitkat
- Created: 2023-01-08T14:57:01.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-16T15:27:43.000Z (over 3 years ago)
- Last Synced: 2025-08-16T04:39:22.668Z (10 months ago)
- Topics: esp, esp-idf, esp32, espressif, wireguard
- Language: C
- Homepage:
- Size: 11.7 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ESP-IDF Wireguard example
Uses:
- [`esp_wireguard`](https://github.com/trombik/esp_wireguard/) component for Wireguard implementation
- `wifi_provisioning` for WiFi provisioning - use Espressif's [`ESP SoftAP Prov`](https://github.com/trombik/esp_wireguard/) Android/iOS app or Python tool to connect ESP32 to WiFi
Based on example from [`esp_wireguard`](https://github.com/trombik/esp_wireguard/) repo.
Removed unnecessary code - may only work with ESP-IDF v4.4+.
Tested with ESP-IDF version `release/v4.4.3`.
## Usage
- Export ESP-IDF
- Clone this repository and enter it
- `git submodule update --init --recursive`
- Configure the example: `idf.py menuconfig` -> Example config
- `idf.py build flash monitor`
## Tips
### Time synchronization
You can find time zone strings needed for time sync here: [nayarsystems/posix_tz_db/blob/master/zones.csv](https://github.com/nayarsystems/posix_tz_db/blob/master/zones.csv)