2023-02-14 14:01:16 +01:00
|
|
|
#!/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 \
|
2023-02-14 14:38:33 +01:00
|
|
|
'socat tcp4-listen:18123,reuseaddr udp:192.168.133.10:7301'
|