Skip to content

Commit

Permalink
Data update 2023-09-19 06-13-54
Browse files Browse the repository at this point in the history
  • Loading branch information
1010bots committed Sep 19, 2023
1 parent fad912e commit 60f3c3d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion docs/en/common/socat.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
layout: page
title: common/socat (English)
description: "Multipurpose relay (SOcket CAT)."
content_hash: c17d89f9333e9fce7d2a0953829fde18150fee6f
content_hash: dbe39dab7d577cbf8a7c13657c2366717281c964
last_modified_at: 2023-09-19
---
# socat

Expand All @@ -13,6 +14,10 @@ More information: <http://www.dest-unreach.org/socat/>.

`socat - TCP-LISTEN:8080,fork`

- Listen on a port using SSL and print to STDOUT:

`socat OPENSSL-LISTEN:4433,reuseaddr,cert=./cert.pem,cafile=./ca.cert.pem,key=./key.pem,verify=0 STDOUT`

- Create a connection to a host and port, transfer data in STDIO to connected host:

`socat - TCP4:www.example.com:80`
Expand Down
2 changes: 1 addition & 1 deletion source
Submodule source updated 1 files
+4 −0 pages/common/socat.md

0 comments on commit 60f3c3d

Please sign in to comment.