IPFREELY(8)

NAME
ipfreely - Simple TCP Proxy daemon

SYNOPSIS
ipfreely [-d] [-b localhost:port] [-r remotehost:port] [-c chroot dir] [-u username]

DESCRIPTION
The ipfreely daemon listens for TCP connections on a specified host and port. When a connection is initiated, it forks a child process which makes another TCP connection to a specified remote host and port. Once established, it relays all data between the two connectons.

When ipfreely starts up, it expects all settings to have been passed from the command line.

The options are as follows:

-d  Do not daemonize. If this option is specified, ipfreely will run in the foreground and log extra debug information to stderr.

-b localhost:port
    Bind listening socket to the IP address or hostname and port specified by the localhost:port argument.

-r remotehost:port
    Proxy connections to the IP address or hostname and port specified by the remotehost:port argument.

-c chroot dir
    chroot() the daemon to the directory specified by the chroot dir argument. If the process was to be compromised by an attacker, he would be confined to this directory.

-u username
    Once the listening socket is set up, drop privileges and run as username. For maximum security this should be a dedicated user without a real login shell.

SEE ALSO
chroot(2)

HISTORY
The ipfreely program was written by Niall O'Higgins in March 2005.