Add socat helper scripts
This commit is contained in:
parent
94c98e6d20
commit
955985528c
6 changed files with 192 additions and 2 deletions
3
bin/socat-connect-tcp-v4
Executable file
3
bin/socat-connect-tcp-v4
Executable 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
3
bin/socat-listen-tcp-v4
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo TCPv4-ok | socat - TCP-LISTEN:2345
|
||||
3
bin/socat-listen-tcp-v6
Executable file
3
bin/socat-listen-tcp-v6
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo TCPv6-ok | socat - TCP6-LISTEN:2345
|
||||
Loading…
Add table
Add a link
Reference in a new issue