summaryrefslogtreecommitdiff
path: root/test/auth.sh
diff options
context:
space:
mode:
authorMikhail Osipov <mike.osipov@gmail.com>2020-02-27 01:51:55 +0300
committerMikhail Osipov <mike.osipov@gmail.com>2020-02-27 02:11:12 +0300
commit27e13f14f4dba71b417ea530bfe035adbd8f0a93 (patch)
tree0ed374c02a7f1b5516a8e6e9ab1d37b42860e299 /test/auth.sh
parent085bdfb75eb1c4b90a25a792815f8b80ed06dccb (diff)
add config file support
Diffstat (limited to 'test/auth.sh')
-rwxr-xr-xtest/auth.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/auth.sh b/test/auth.sh
index 311b8ff..a807c96 100755
--- a/test/auth.sh
+++ b/test/auth.sh
@@ -5,10 +5,10 @@ PATH=$PATH:$ROOT/cmd/tunnel
tunnel add name T 2000,listen auth aes 3000
tunnel add name X 3000,listen -aes -auth 4000
-tunnel var set tunnel.T.secret secret
-tunnel var set tunnel.X.secret secret
+tunnel set tunnel.T.secret secret
+tunnel set tunnel.X.secret secret
nc -l 4000 &
echo "Hello, World!" | nc -N localhost 2000
-tunnel var clear
+tunnel clear
tunnel del T
tunnel del X