stunnel4/tools/script.sh
2017-03-28 09:58:13 +02:00

12 lines
222 B
Bash
Executable File

#!/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"