aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/README.md b/README.md
index 133b5de..bb5da07 100644
--- a/README.md
+++ b/README.md
@@ -27,9 +27,12 @@ Build:
- `make`
Run:
- - `./src/potd --redirect 0.0.0.0:2222:127.0.0.1:22222
- --protocol 127.0.0.1:22222:127.0.0.1:33333
- --jail 127.0.0.1:33333`
+ - Example:
+ ```
+ ./src/potd --redirect 0.0.0.0:2222:127.0.0.1:22222
+ --protocol 127.0.0.1:22222:127.0.0.1:33333
+ --jail 127.0.0.1:33333
+ ```
This will process, filter and redirect all traffic incoming from 0.0.0.0:2222 to the
protocol handler at 127.0.0.1:22222 and if the protocol accepts it, it will forward