source: trunk/dev/bin/script/Frameshare-SSH-Tunnel-Server.sh@ 867

Last change on this file since 867 was 867, checked in by jts21, 10 years ago

Add scripts for tunnelling a frameserver connection over SSH

  • Property svn:executable set to *
File size: 644 bytes
Line 
1#!/bin/bash
2
3# You should change the port to the port of your server (leave it at 3000 if not sure)
4port=3000
5
6# ---------------------------------------------------
7# NOTHING BELOW THIS POINT SHOULD NEED TO BE MODIFIED
8# ---------------------------------------------------
9
10# get the offseted port values
11frameserverPort=$port
12framesaverPort=$((port+1))
13messagePort=$((port+2))
14infserverPort=$((port+3))
15infupdatePort=$((port+4))
16imageserverPort=$((port+5))
17imagesaverPort=$((port+6))
18
19# tunnel udp connections through their equivalent tcp ports
20java UDPTunnel server $frameserverPort $framesaverPort $messagePort $infserverPort $infupdatePort
Note: See TracBrowser for help on using the repository browser.