Skip to content

Instantly share code, notes, and snippets.

@wakwanza
Created October 28, 2016 14:09
Show Gist options
  • Save wakwanza/3bc40816b9130c6e9f1e62970a9d5483 to your computer and use it in GitHub Desktop.
Save wakwanza/3bc40816b9130c6e9f1e62970a9d5483 to your computer and use it in GitHub Desktop.
Xinetd port service redirect
service SERVICENAME
{
type = UNLISTED
disable = no
flags = REUSE
user = root
socket_type = stream
protocol = tcp
wait = no
log_on_failure += USERID
bind = 127.0.0.1
port = LOCALPORT
redirect = SERVERIP REDIRECTPORT
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment