diff options
| author | Mikhail Osipov <mike.osipov@gmail.com> | 2019-10-21 00:32:40 +0300 |
|---|---|---|
| committer | Mikhail Osipov <mike.osipov@gmail.com> | 2019-10-21 00:32:40 +0300 |
| commit | 45c6387126ba8a09292ce72b0f568041950ef329 (patch) | |
| tree | 63627b90c4beb30d1fc8df0bc5d866b344f23a01 | |
| parent | 8142854950bc510b8c21a210538d14a301dbcf63 (diff) | |
some comments
| -rw-r--r-- | TODO | 12 | ||||
| -rw-r--r-- | libevent.mk | 4 | ||||
| -rw-r--r-- | scheme | 6 |
3 files changed, 19 insertions, 3 deletions
@@ -11,9 +11,15 @@ Usage: tunnel route del port 80 via proxy tunnel route drop via proxy - tunnel add proxy httpconnect host port - tunnel route add proxy port 80 - tunnel route add proxy port 22 + tunnel create connect wan tcp host:port + tunnel create listen lan tcp host:port + tunnel add wan httptun host:port + tunnel add wan httptun ORIGINAL + tunnel connect lan wan + + tunnel forward lan port 80 + tunnel forward lan port 22 + tunnel show proxy tunnel del proxy tunnel list diff --git a/libevent.mk b/libevent.mk index 194a525..74c9946 100644 --- a/libevent.mk +++ b/libevent.mk @@ -1,2 +1,6 @@ +ifeq ($(shell pkg-config libevent; echo $$?),1) +$(error pkg libevent not found) +endif + CFLAGS += $(shell pkg-config --cflags libevent) LDFLAGS += $(shell pkg-config --libs libevent) @@ -0,0 +1,6 @@ +kernel.org:80 -> + iptables -> + localhost:xxx -> + tcp connect proxyhost proxyport -> + http connect proxyhost2 proxyport2 + http connect kernel.org:80 |
