updating README
This commit is contained in:
parent
3f509ce472
commit
4093b2cff2
15
README.md
15
README.md
@ -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
|
## 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
|
```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
|
## 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
|
```sh
|
||||||
ssh -L 1534:192.168.133.10:1534 \
|
ssh -L 1534:192.168.133.10:1534 \
|
||||||
-L 1535:192.168.133.10:22 \
|
-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 \
|
eive@2001:7c0:2018:1099:babe:0:e1fe:f1a5 \
|
||||||
-t /bin/bash
|
-t /bin/bash
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user