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)
|
---|
4 | port=3000
|
---|
5 |
|
---|
6 | # ---------------------------------------------------
|
---|
7 | # NOTHING BELOW THIS POINT SHOULD NEED TO BE MODIFIED
|
---|
8 | # ---------------------------------------------------
|
---|
9 |
|
---|
10 | # get the offseted port values
|
---|
11 | frameserverPort=$port
|
---|
12 | framesaverPort=$((port+1))
|
---|
13 | messagePort=$((port+2))
|
---|
14 | infserverPort=$((port+3))
|
---|
15 | infupdatePort=$((port+4))
|
---|
16 | imageserverPort=$((port+5))
|
---|
17 | imagesaverPort=$((port+6))
|
---|
18 |
|
---|
19 | # tunnel udp connections through their equivalent tcp ports
|
---|
20 | java UDPTunnel server $frameserverPort $framesaverPort $messagePort $infserverPort $infupdatePort
|
---|
Note:
See
TracBrowser
for help on using the repository browser.