diff options
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 & |
