Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

simpleproxy(1) [debian man page]

SIMPLEPROXY(1)						      General Commands Manual						    SIMPLEPROXY(1)

NAME
simpleproxy - Simple tcp socket proxy SYNOPSIS
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> DESCRIPTION
The simpleproxy program acts as a simple tcp proxy. It opens listening socket on local machine and forwards any connection to the remote host. OPTIONS
simpleproxy accepts following options: -V Version information. -v Makes simpleproxy to write activity information to syslog or stderr. -7 Makes simpleproxy to strip 8th bit. -i Use this flag when starting simpleproxy from INETD. -d 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 ses- sions 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 spec- ified 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. BUGS
Only tcp ports are supported. SEE ALSO
inetd(1M), services(4), http://www.crocodile.org/software.html AUTHOR
Vadim Zaliva <lord@crocodile.org>, Vladimir Karpinsky <vlad@noir.crocodile.org> Vadim Tymchenko <verylong@noir.crocodile.org> CONTRIBUTORS
Pavel Roskin <pavel_roskin@geocities.com>, Cedric Tefft <cedric@earthling.net> Christophe Bothamy <cbothamy@sourceforge.net> Ulf Harnhammar <metaur@telia.com> Version 3.3 SIMPLEPROXY(1)

Check Out this Related Man Page

ssh-http-proxy-connect(1)					   User Commands					 ssh-http-proxy-connect(1)

NAME
ssh-http-proxy-connect - Secure Shell proxy for HTTP SYNOPSIS
/usr/lib/ssh/ssh-http-proxy-connect [-h http_proxy_host] [-p http_proxy_port] connect_host connect_port DESCRIPTION
A proxy command for ssh(1) that uses HTTP CONNECT. Typical use is where connections external to a network are only allowed via a proxy web server. OPTIONS
The following options are supported: -h http_proxy_host Specifies the proxy web server through which to connect. Overrides the HTTPPROXY and http_proxy environment vari- ables if they are set. -p http_proxy_port Specifies the port on which the proxy web server runs. If not specified, port 80 is assumed. Overrides the HTTP- PROXYPORT and http_proxy environment variables if they are set. OPERANDS
The following operands are supported: http_proxy_host The host name or IP address (IPv4 or IPv6) of the proxy. http_proxy_port The numeric port number to connect to on http_proxy_host. connect_host The name of the remote host to which the proxy web server is to connect you. connect_port The numeric port number of the proxy web server to connect you to on http_proxy_host. EXAMPLES
The recommended way to use a proxy connection command is to configure the ProxyCommand in ssh_config(4) (see Example 1 and Example 2). Example 3 shows how the proxy command can be specified on the command line when running ssh(1). Example 1: Setting the proxy from the environment The following example uses ssh-http-proxy-connect in ssh_config(4) when the proxy is set from the environment: Host playtime.foo.com ProxyCommand /usr/lib/ssh/ssh-http-proxy-connect playtime.foo.com 22 Example 2: Overriding proxy environment variables The following example uses ssh-http-proxy-connect in ssh_config(4) to override (or if not set) proxy environment variables: Host playtime.foo.com ProxyCommand /usr/lib/ssh/ssh-http-proxy-connect -h webcache -p 8080 playtime.foo.com 22 Example 3: Using the command line The following example uses ssh-http-proxy-connect from the ssh(1) command line: example$ ssh -o'ProxyCommand="/usr/lib/ssh/ssh-http-proxy-connect -h webcache -p 8080 playtime.foo.com 22"' playtime.foo.com ENVIRONMENT VARIABLES
HTTPPROXY Takes the http_proxy_host operand to specify the default proxy host. Overrides http_proxy if both are set. HTTPPROXYPORT Takes the http_proxy_port operand to specify the default proxy port. Ignored if HTTPPROXY is not set. http_proxy URL format for specifying proxy host and port. EXIT STATUS
The following exit values are returned: 0 Successful completion. 1 An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsshu | +-----------------------------+-----------------------------+ |Interface Stability |Stable | +-----------------------------+-----------------------------+ SEE ALSO
ssh(1), ssh-socks5-proxy-connect(1), ssh_config(4), attributes(5) SunOS 5.10 24 Oct 2001 ssh-http-proxy-connect(1)
Man Page