I have one machine (192.168.11.100
) that acts as an NMEA0183 "talker" via port 10110/TCP and I have another machine (let's say 192.168.11.110
) that can only receive the NMEA strings it needs through port 8091/UDP.
I've tried using socat as follows: socat TCP4:192.168.11.100:10110 UPD4-DATAGRAM:192.168.11.255:8091
but I get a "permission denied
" message. I've also tried swapping the IP addresses on the command above, but I get the same error.
I can netcat the 192.168.11.100:10110 and see the NMEA strings flowing and the same happens with socat using socat - 192.168.11.100:10110
.
What am I doing wrong? Is there another way to solve this problem?