SirTunnel/create_tunnel_example.sh

8 lines
132 B
Bash
Raw Normal View History

2020-09-23 07:06:03 +02:00
#!/bin/bash
domain=$1
serverPort=$2
localPort=$3
2020-09-27 17:47:17 +02:00
ssh -t -R $serverPort:localhost:$localPort $domain sirtunnel $domain $serverPort