Home
DevCentral
Search
Configure Global Search
Log In
Transactions
P80
Change Details
Change Details
Old
New
Diff
#!/bin/sh #SOCATBIN="/usr/bin/socat" SOCATBIN="/storage/.kodi/addons/tools.socat/bin/socat" TCPPORTS="9981 9982" UDPPORTS="9777" # TCP Ports for PORT in $TCPPORTS; do nohup "${SOCATBIN}" TCP6-L:${PORT},fork,ipv6only=1,su=nobody TCP4:127.0.0.1:${PORT} & done # UDP Ports for PORT in $UDPPORTS; do nohup "${SOCATBIN}" UDP6-L:${PORT},fork,ipv6only=1,su=nobody UDP4:127.0.0.1:${PORT} & done
#!/bin/sh SOCAT=socat TCPPORTS="9981 9982" UDPPORTS="9777" # TCP Ports for PORT in $TCPPORTS; do nohup ${SOCAT} TCP6-L:${PORT},fork,ipv6only=1,su=nobody TCP4:127.0.0.1:${PORT} & done # UDP Ports for PORT in $UDPPORTS; do nohup ${SOCAT} UDP6-L:${PORT},fork,ipv6only=1,su=nobody UDP4:127.0.0.1:${PORT} & done
#!/bin/sh
#SOCATBIN="/usr/bin/socat"
SOCAT
BIN="/storage/.kodi/addons/tools.socat/bin/
=
socat
"
TCPPORTS="9981 9982" UDPPORTS="9777" # TCP Ports for PORT in $TCPPORTS; do nohup
"
${SOCAT
BIN}"
}
TCP6-L:${PORT},fork,ipv6only=1,su=nobody TCP4:127.0.0.1:${PORT} & done # UDP Ports for PORT in $UDPPORTS; do nohup
"
${SOCAT
BIN}"
}
UDP6-L:${PORT},fork,ipv6only=1,su=nobody UDP4:127.0.0.1:${PORT} & done
Continue