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

networking: add support for WireGuard VPN #882

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

llange
Copy link
Contributor

@llange llange commented Apr 24, 2023

⚠️ Not ready for merging - for discussion only

ℹ️ This PR is based on other branches that are needed, and not merged in master yet - so it appears huge. In particular it's based on my experimental-esp-idf-build-workflow branch. However, only the last commit networking: add support for WireGuard VPN is the important part of this PR.

This VPN allows your OVMS module to "connect" itself to your own private network, make it visible and reachable, whatever the connexion it is using (WiFi, Mobile, ...)
(Note: 3G untested at the moment)

It should also (unverified) be able to roam from one connexion to the other, or even among different WiFi networks, without any specific setting to do.

A documentation has been added. (Note: The schematics, drawn with draw.io is embedded in the resulting PNG file, so you can open the PNG file with the editor to edit the diagram. Please keep it that way (by checking the 'Include a copy of my diagram' check box))

Support for wireguard on ESP provided by https://github.com/trombik/esp_wireguard, cf https://github.com/trombik/esp_wireguard/blob/main/LICENSE

Cf #752

@fowi4hjte
Copy link
Contributor

@llange
This would be great to have in OVMS. It can also solve some basic security concerns when always enabled.

This VPN allows your OVMS module to "connect" itself to your own private network,
make it visible and reachable, whatever the connexion it is using (WiFi, Mobile, ...)
(Note: 3G untested at the moment)

It should also (unverified) be able to roam from one connexion to the other, or even
among different WiFi networks, without any specific setting to do.

A documentation has been added. (Note: The schematics, drawn with [draw.io](https://get.diagrams.net/)
is embedded in the resulting PNG file, so you can open the PNG file with the editor to edit
the diagram. Please keep it that way (by checking the 'Include a copy of my diagram' check box))

Support for wireguard on ESP provided by https://github.com/trombik/esp_wireguard , cf
https://github.com/trombik/esp_wireguard/blob/main/LICENSE

Cf openvehicles#752

Signed-off-by: Ludovic LANGE <[email protected]>
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.

2 participants