Hi @kojirov
Have a read here so you can understand the simple wifi method.
Lowrance HDS stream full sonar to PC / mission planner - ArduRover / ArduBoat - ArduPilot Discourse
Using wifi its simple - the PC and HDS will be on the same network and same IP range.
4G/ 5G can be more complicated because of two reasons
- now the PC and HDS are not on same lan and need internet connection between them
- often 4G providers don’t assign a public IP address to your 4G router (instead they use carrier NAT)
If you 4G/5G router gets a real public IP address, you can use common port forward / server publishing configuration in the router to advertise TCP 554 to the internet. And then on VLC or mission planner - use the public IP of the router to connect to the stream.
Another method is to use a VPN on the 4G router to connect back to your PC network. A VPN may help the carrier NAT problem, and also help if the 4G connection is changing IP addresses.
There is many other options too, including proxy, and other providers etc. So the answer isn’t - one size fits all for 4G/5G connections.