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

How to reach other devices on the ESP32 WiFi Network #15

Open
bwjohns4 opened this issue Nov 12, 2022 · 1 comment
Open

How to reach other devices on the ESP32 WiFi Network #15

bwjohns4 opened this issue Nov 12, 2022 · 1 comment

Comments

@bwjohns4
Copy link
Contributor

Is it possible using this library to access other IP addresses on the ESP32 WiFi Network Interface? The new interface that is setup by this library is only on the VPN network, right? If packets are sent to the ESP32 with a different destination IP address from the VPN interface, would the ESP32 already know which interface to forward them out of, or would that need to be built separately? If that needs to be done separately, would you be able to point me in a direction to get some insight on how to do this?

@bwjohns4
Copy link
Contributor Author

This was a little bit tricky on the ESP32. I had to copy over the ideas from the Arduino ESP8266 version and build the add a reading topic functions to add reading topics to subscribe to other IP addresses. You also need to enable NAPT similar to the way it was done for ESP8266. I plan to submit a PR with my changes to allow this.

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

1 participant