9 lines
334 B
Bash
9 lines
334 B
Bash
|
#!/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'
|