Add socat helper scripts

This commit is contained in:
Nico Schottelius 2019-08-01 20:59:21 +02:00
commit 955985528c
6 changed files with 192 additions and 2 deletions

3
bin/socat-connect-tcp-v4 Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
echo from-v4-ok | socat - TCP:10.0.0.66:2345

3
bin/socat-listen-tcp-v4 Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
echo TCPv4-ok | socat - TCP-LISTEN:2345

3
bin/socat-listen-tcp-v6 Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
echo TCPv6-ok | socat - TCP6-LISTEN:2345