SirTunnel/tunnel.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
ssh -t -R $serverPort:localhost:$localPort $domain sirtunnel $domain:$serverPort