summaryrefslogtreecommitdiff
path: root/tools/script.sh
blob: d362c23d3dec235e28ee8124ab9b6e817c228d36 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

REMOTE_HOST="www.mirt.net:443"
echo "client script connecting $REMOTE_HOST"
/usr/local/bin/stunnel -fd 10 \
    11<&0 <<EOT 10<&0 0<&11 11<&-
client=yes
connect=$REMOTE_HOST
EOT
echo "client script finished"