update forwarding scripts for UDP
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit

This commit is contained in:
Robin Müller 2023-02-14 14:01:16 +01:00
parent ef09cdabc2
commit 16eab6b266
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
3 changed files with 16 additions and 8 deletions

View File

@ -0,0 +1,8 @@
#!/bin/bash
echo "Q7S UDP connection from local port 18000 -> TCP ssh tunnel -> EM port 7301"
socat udp4-listen:18000,reuseaddr,fork tcp:localhost:18002 &
ssh -L 18002:localhost:18123 eive@flatsat.eive.absatvirt.lw \
'CONSOLE_PREFIX="[Q7S EM UDP Tunnel]" \
/bin/bash && socat tcp4-listen:18123,reuseaddr udp:192.168.133.10:7301'

View File

@ -0,0 +1,8 @@
#!/bin/bash
echo "Q7S UDP connection from local port 18000 -> TCP ssh tunnel -> FM port 7301"
socat udp4-listen:18000,reuseaddr,fork tcp:localhost:18002 &
ssh -L 18002:localhost:18123 eive@flatsat.eive.absatvirt.lw \
'CONSOLE_PREFIX="[Q7S FM UDP Tunnel]" \
/bin/bash && socat tcp4-listen:18123,reuseaddr udp:192.168.155.55:7301'

View File

@ -1,8 +0,0 @@
#!/bin/bash
echo "Setting up all Q7S ports"
echo "upd connection from local port 18000 -> tcp ssh tunnel -> EM port 7301"
socat udp4-listen:18000,reuseaddr,fork tcp:localhost:18002 &
ssh -L 18002:localhost:18123 eive@flatsat.eive.absatvirt.lw 'socat tcp4-listen:18123,reuseaddr udp:192.168.133.10:7301'