Added TCP support #63

Merged
meierj merged 7 commits from mueller/added-tcp-support into develop 2021-07-26 12:07:47 +02:00
Showing only changes of commit 5b99199b6c - Show all commits

View File

@ -219,15 +219,19 @@ You then need to run `scp` with the `-P 1535` flag with `localhost` as the targe
If you are using the UDP communication interface, you can use:
```sh
ssh -L 7301:192.168.133.10:7301 eive@2001:7c0:2018:1099:babe:0:e1fe:f1a5 -t /bin/bash
ssh -L 1536:192.168.133.10:7301 eive@2001:7c0:2018:1099:babe:0:e1fe:f1a5 -t /bin/bash
```
This forwards UDP TMTC packets on port `1536` of localhost to the TMTC reception port of the Q7S.
For TCP, you can use
```sh
ssh -L 7303:192.168.133.10:7303 eive@2001:7c0:2018:1099:babe:0:e1fe:f1a5 -t /bin/bash
ssh -L 1537:192.168.133.10:7303 eive@2001:7c0:2018:1099:babe:0:e1fe:f1a5 -t /bin/bash
```
This forwards TCP TMTC packets on port `1537` of localhost to the TMTC reception port of the Q7S.
## Set up all port forwarding at once
You can specify the `-L` option multiple times to set up all port forwarding at once.
@ -236,7 +240,7 @@ Example for using the UDP communication interface:
```sh
ssh -L 1534:192.168.133.10:1534 \
-L 1535:192.168.133.10:22 \
-L 7301:192.168.133.10:7301 \
-L 1536:192.168.133.10:7301 \
eive@2001:7c0:2018:1099:babe:0:e1fe:f1a5 \
-t 'export CONSOLE_PREFIX="[Q7S Tunnel] /bin/bash'
```