updating README

This commit is contained in:
Robin Müller 2021-07-26 11:58:28 +02:00
parent 3f509ce472
commit 4093b2cff2
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -216,20 +216,27 @@ You then need to run `scp` with the `-P 1535` flag with `localhost` as the targe
## Port forwarding for TMTC commanding
This requires using the TCP on sender side (Python client) and receiver side (OBSW TMTC TCP server).
If you are using the UDP communication interface, you can use:
```sh
ssh -L 1536:192.168.133.10:7301 eive@2001:7c0:2018:1099:babe:0:e1fe:f1a5 -t /bin/bash
ssh -L 7301:192.168.133.10:7301 eive@2001:7c0:2018:1099:babe:0:e1fe:f1a5 -t /bin/bash
```
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
```
## Set up all port forwarding at once
You can specify the `-L` option multiple times to set up all port forwarding at once
You can specify the `-L` option multiple times to set up all port forwarding at once.
Example for using the UDP communication interface:
```sh
ssh -L 1534:192.168.133.10:1534 \
-L 1535:192.168.133.10:22 \
-L 1536:192.168.133.10:7301 \
-L 7301:192.168.133.10:7301 \
eive@2001:7c0:2018:1099:babe:0:e1fe:f1a5 \
-t /bin/bash
```