summaryrefslogtreecommitdiff
path: root/USAGE
diff options
context:
space:
mode:
Diffstat (limited to 'USAGE')
-rw-r--r--USAGE8
1 files changed, 6 insertions, 2 deletions
diff --git a/USAGE b/USAGE
index bd9a8a4..889c477 100644
--- a/USAGE
+++ b/USAGE
@@ -1,4 +1,8 @@
-1. Transparent proxy using redirect
+# Simple tcp tunnel
+
+tunnel add srcport,listen [dsthost:]dstport
+
+# Transparent proxy using redirect
iptables -t nat -A OUTPUT -p tcp -d 198.145.29.83 -j REDIRECT --to-port 4000
@@ -10,6 +14,6 @@ BUGS:
Direct connection also possible. In this case original.addr will be equal to listen address.
This happens when ipv4 is used.
-2. Transparent proxy using tproxy
+# Transparent proxy using tproxy
- todo