User Tools

Site Tools


docu:csheet:net:relays:socat_usage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
docu:csheet:net:relays:socat_usage [2020/09/10 08:50]
admin [2. Create a **simple network-based TCP logging** endpoint]
docu:csheet:net:relays:socat_usage [2022/05/17 14:27]
admin
Line 27: Line 27:
 <code bash> <code bash>
 socat -u TCP4-LISTEN:3334,reuseaddr,fork OPEN:/tmp/test.log,creat,append & socat -u TCP4-LISTEN:3334,reuseaddr,fork OPEN:/tmp/test.log,creat,append &
 +</code>
 +
 +\\
 +==== 3. Create a HTTP -> HTTPS proxy for certificate errors when unsupported.
 +<code bash>
 +# creates an http server at 127.0.0.1:8008 that proxies to https
 +socat TCP4-LISTEN:8008,reuseaddr,fork openssl:185.93.2.243:443,verify=0
 </code> </code>
  
docu/csheet/net/relays/socat_usage.txt · Last modified: 2022/05/17 14:27 by admin