Arduino ESP32 Based (Ethernet-WIF) TCP/IP Serial Device

Seems that you want to access your tiny esp's behind a NAT/router, from a remote network. I don't believe ESP have enough power to act like a full vpn client.

Still, you can put all your esp's behind a router that supports vpn's and custom routing and use the router to access a remote network. Add the necessary routes on both ends and you can now access the esp's from the remote network. I made something like this for multiple sites where i have some serial to ethernet gateways that i need to access from a central location.

Hello, I'd like to thank everyone who replied for all your help.

I found a test application named "Hercules" that I am using
to test the remote server IP and port, it also allows me to
send data and commands back to the local IP device that sent the original data to the server.
https://www.hw-group.com/software/hercules-setup-utility

When I test the Lantronix xPort and the ESP32 side by side, they both operate the same, as far as I can tell with this test application.

When the ESP32 sends data to the remote server, this application documents the local IP address of the device that sent it and I am able to send data or commands back to the ESP32 via the local device IP address.

Lantronix support sent me this:
Accept mode means the xPort AR is a TCP client.
When Accept mode is enabled, it accepts an incoming connection.

In Connect mode the xPort AR is TCP server.
You need to enter the TCP address from remote host and port number.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.