[Feature Request]: Allow connection via domain name
Contact Details
No response
Tell us your idea.
I understand that most of the people using Meshtastic is not that tech savy, and do not want to / need to to do port forwarding on a router to connect to node remotely, but there are some of as crazy mf :-) I already have some ideas in my head to do it securely, like implement port knocking on my MikroTik, and based on port knocking automatically creating firewall rule. I understand that it is complicated and not a burning issue to implement auth via protobuf, but at least I need a way to input my domain in App. So could it be possible to implement:
- domain input in address field instead only numerical IP address
- implement custom port input, like "domain.com:5403" if I wanted to do a port remaping
- implement node addresses profiles, like:
- Home profile - 192.168.1.100
- Internet profile - domain.com:5403
Originally posted by @bmatic385 in #681
Relevant log output
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Point 2 is already implemented in #1861.
I second this feature request, security from the internet can be solved with VPN (rather than port knocking) and domain names are useful even in internal network :-).
When implementing, please take care to test with hostnames too. Hostnames are local network only name -> ip resolution usually supported and resolved by the router.