diff --git a/README.md b/README.md index a7283fb2..6deaa770 100644 --- a/README.md +++ b/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 -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 ```