diff options
| author | Mikhail Osipov <mike.osipov@gmail.com> | 2020-12-16 15:27:48 +0300 |
|---|---|---|
| committer | Mikhail Osipov <mike.osipov@gmail.com> | 2020-12-16 15:27:48 +0300 |
| commit | 6fed9dd0dd62718f78eca11e30a71c2712636fbd (patch) | |
| tree | 8d1f90b96efbe8ea8aea350c283325adc216ef9d /test/proxy.sh | |
| parent | 050ea053dd549f0dd01beddfcd74989858391fd7 (diff) | |
hook and socket args check fix, tests
Diffstat (limited to 'test/proxy.sh')
| -rwxr-xr-x | test/proxy.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/proxy.sh b/test/proxy.sh index ec513fe..d52b105 100755 --- a/test/proxy.sh +++ b/test/proxy.sh @@ -3,8 +3,8 @@ ROOT=$(dirname $0)/.. PATH=$ROOT/cmd/tunnel:$PATH -tunnel add name C 2000,listen proxy,addr=localhost:4000 3000 -tunnel add name S 3000,listen proxy +tunnel add name C listen,addr=-:2000 proxy,addr=-:4000 dial,addr=-:3000 +tunnel add name S listen,addr=-:3000 proxy tunnel set tunnel.C.proxy.auth user:password tunnel set tunnel.S.proxy.auth user:password nc -l 4000 & |
