diff options
| author | Mikhail Osipov <mike.osipov@gmail.com> | 2020-07-06 00:53:18 +0300 |
|---|---|---|
| committer | Mikhail Osipov <mike.osipov@gmail.com> | 2020-07-06 00:53:18 +0300 |
| commit | 144f66574706c9e251c964b694e80406206cb10b (patch) | |
| tree | aaed72a4c250787b5dc9aa27fa94278b92217868 /USAGE | |
| parent | e00995cf2a5968ae94d4dc0abfe21a66dae5cd54 (diff) | |
single socket option
Diffstat (limited to 'USAGE')
| -rw-r--r-- | USAGE | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |
