Portfwd − Port forwarding daemon
portfwd [-d ...] [-g] [-t] [ -c config-file ]
This manual page documents briefly the Portfwd program.
Portfwd stands for port forwarding daemon. It’s a small userland tool which forwards incoming TCP connections and/or UDP datagrams to remote hosts. There is support for FTP forwarding, transparent proxy, DNS on demand, simple round-robin load-balacing, external destination selectors and other minor features.
This author’s English skills are very bad as he’s not a native speaker of that language -- please feel free to contribute fixes for this page if you can.
follows the usual GNU command line syntax, with long options
starting with two dashes (‘-’). A summary of
options is included below.
Shows summary of options.
Shows program version.
This option increases logging verbosity for debug. Up to 3 switches are meaningful. Failure messages are sent to the system log under daemon facility.
Specify this option to keep the daemon running in foregroud.
This switch enables transparent proxying. If you intend to forward data to hosts behind your masquerading firewall, you probably want this option turned on; it allows your servers to see true IP addresses of clients.
Portfwd usually solves all DNS hostnames upon startup. Specify the -f option if you want the destination hostnames be updated on demand. Be aware this can affect TCP connection times and the whole UDP forwarding performance.
−c, −−config config−file
This argument allows specification of a configuration file other than the hard-coded default. config−file is the full pathname to the configuration file.
Default configuration file. This may be changed by the "configure" script in compile time.
If sent to Portfwd master process (the one with lowest PID), the TERM signal terminates the whole forwarding job.
Portfwd web site at SourceForge.
Portfwd configuration reference.
loosely written by
Éverton da Silva Marques <evertonsm at yahoo dot com dot br>