simpleproxy(1) Simple tcp socket proxy


simpleproxy [-7] [-v] [-V] [-d] [-i] -P <POP3 users file> -L [<local host>:]<local port> -R <remote host>:<remote port> -S <proxy host>:<proxy port>


The simpleproxy program acts as a simple tcp proxy. It opens listening socket on local machine and forwards any connection to the remote host.


simpleproxy accepts following options:

Version information.
Makes simpleproxy to write activity information to syslog or stderr.
Makes simpleproxy to strip 8th bit.
Use this flag when starting simpleproxy from INETD.
By default simpleproxy does not detach itself from control terminal and writes all messages to stderr. This option will detach it from terminal and make it write messages to syslog.
-L [<local host>:]<local port>
Local host and port name or number to bind for listening. Host name is optional.
-R <remote host>:<remote port>
Remote host and port name or number
-P <POP3 users list>
If specified, simpleproxy will load list of users from the <filename> (one per line). After this it will be forwarding POP3 sessions only if client trying to authenificate as this user.
-S <proxy host>:<proxy port>
HTTPS proxy server host and port name or number.
-a <HTTP Auth User>:<HTTP Auth Password>
Authenticate to the HTTPS proxy server with the given userid and password. This option performs BASIC HTTP authentication as specified in RFC 2617. Used only in conjunction with -S.
-t <trace file>
If specified, simpleproxy will dump all data that passes through connection to the specified file.


Only tcp ports are supported.


Vadim Zaliva <[email protected]>, Vladimir Karpinsky <[email protected]> Vadim Tymchenko <[email protected]>


Pavel Roskin <[email protected]>, Cedric Tefft <[email protected]> Christophe Bothamy <[email protected]> Ulf Harnhammar <[email protected]>