Advertisement
plirof2

socat tests v001 NOT working

Oct 5th, 2023
1,268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.59 KB | None | 0 0
  1. socat - TCP4:www.example.com:80
  2.  
  3. lab08-3gb-e8400-bl64
  4.  
  5. socat - TCP4:lab08-3gb-e8400-bl64:80
  6. socat - TCP4:www.example.com:80
  7. socat - TCP4:www.example.com:80
  8.  
  9.  
  10. socat TCP4-LISTEN:81 TCP4:192.168.1.200:80
  11.  
  12.  
  13.  
  14.  
  15. socat /dev/ttyS2,b115200,raw,echo=0 TCP:192.168.1.200:7000
  16.  
  17.  
  18.  
  19.  
  20.  
  21. socat STDIO TCP4:localhost:1234
  22.  
  23. https://stackoverflow.com/questions/39723379/socat-run-script-in-bidirectional-tunnel
  24. socat TCP4:192.168.1.49:9090 SYSTEM:"leafpad 'socat' &"
  25.  
  26.  
  27. socat TCP4-L:3334,fork SYSTEM:"$INCOMING_STRING_OF_ARGS"
  28. socat TCP4:192.168.1.49:3334 SYSTEM:"leafpad 'out going string of args' &"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement