#!/bin/sh if [ $# -lt 2 ]; then echo "usage: proxytcp port host|kill" >&2 exit 1 fi if [ x$2 = xkill ]; then delegated -P$1 -Fkill else delegated -P$1 SERVER=tcprelay://$2:$1 fi .