Examples
Simple Echo Test Through netcat
On the Server machine, listen:
# nc -v -l 12345
On the client machine, connect to Gateway 1:
# nc GW1_ip_addr 12345
Stream Data Through netcat
On the Server machine, listen:
# nc -v -l 12345 > /dev/null
On the client machine, connect and stream 1 GB of data:
# dd if=/dev/zero count=1024 bs=1m | nc -v -n GW1_ip_addr 12345 >/dev/null