Warning: This is a development version. The latest stable version is Version 4.0.1.
socat is a command line based utility that establishes two bidirectional byte
streams and transfers data between them. This makes it a great test application
socat can be installed with the following command:
sudo apt install socat
socat -d -d - udp-recv:9999
./rely udp --application-out 127.0.0.1:9999 --tunnel-in 10.0.0.1:43321
./rely udp --application-in 127.0.0.1:8888 --tunnel-out 10.0.0.1:43321
socat -d -d - udp-sendto:127.0.0.1:8888
You should now be able to write a message in the Sender‘s socat terminal and have it appear in the Receiver‘s socat terminal.
this example can also be run on a single host by using
127.0.0.1 as IP for