proxify
Proxify standard input or output
TLDR
Start a HTTP proxy (on the loopback network interface 127.0.0.1 and port 8888)
Start a HTTP proxy on a custom network interface and port (may require sudo for a port number lower than 1024)
Specify output format and output file
Display help
SYNOPSIS
proxify [options] command [arguments...]
PARAMETERS
command
The command to execute through the proxy.
[arguments...]
Arguments to pass to the executed command.
DESCRIPTION
The `proxify` command is a wrapper script (often a shell script) used to easily execute other commands through a specified proxy server. It is typically found in environments where direct internet access is restricted, requiring all network traffic to be routed through a proxy. The script usually sets environment variables such as `http_proxy`, `https_proxy`, `ftp_proxy` and `no_proxy` appropriately before executing the target command. This ensures that the command uses the designated proxy server for its network operations. The script itself doesn't offer inherent proxying capabilities; it merely configures the environment for other applications to use the proxy. It can be customized to support different proxy authentication methods or additional environment variables.
While the exact implementation of `proxify` can vary based on the system's configuration, its core functionality remains consistent: to facilitate the execution of commands through a defined proxy.
CAVEATS
The `proxify` command's effectiveness depends on the target command's ability to respect the `http_proxy`, `https_proxy`, and `ftp_proxy` environment variables. Some applications might ignore these variables or require specific proxy configuration.
EXAMPLE USAGE
To run `wget` through a proxy:proxify wget http://www.example.com
Before doing this, one would typically set up the proxy environment variables within the `proxify` script, e.g:export http_proxy=http://proxy.example.com:8080
export https_proxy=http://proxy.example.com:8080
export no_proxy=localhost,127.0.0.1
The `no_proxy` variable specifies hosts that should be accessed directly, bypassing the proxy.
SCRIPT LOCATION
The location of the `proxify` script can vary. Check your system's `$PATH` or consult with your system administrator to locate the script.
A common directory used is /usr/local/bin
HISTORY
The `proxify` command is not a standard Unix utility. It's a custom script created and implemented in local environments or organization to configure environment variables. As a consequence there is no standard history.