summaryrefslogtreecommitdiff
path: root/USAGE
diff options
context:
space:
mode:
Diffstat (limited to 'USAGE')
-rw-r--r--USAGE9
1 files changed, 9 insertions, 0 deletions
diff --git a/USAGE b/USAGE
new file mode 100644
index 0000000..ceea62d
--- /dev/null
+++ b/USAGE
@@ -0,0 +1,9 @@
+1. Transparent redirect proxy
+
+iptables -t nat -A OUTPUT -p tcp -d 198.145.29.83 -j REDIRECT --to-port 4000
+
+tunnel add 4000,listen,redirect :proxy,addr=@original.addr @proxyaddr
+
+BUG:
+ Using ipv4 redirection if direct connection established
+ original.addr will be equal to listen address