EnglishFrenchSpanish

OnWorks favicon

proxytunnel - Online in the Cloud

Run proxytunnel in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command proxytunnel that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


proxytunnel - program to tunnel a connection through a standard HTTPS proxy

SYNOPSIS


proxytunnel [OPTION]...

DESCRIPTION


proxytunnel is a program to tunnel any connection through a standard HTTPS proxy,
circumventing standard HTTP filtering mechanisms. It’s mostly used as a backend for
OpenSSH’s ProxyCommand, and as a proxy backend for Putty. It can also be used for other
proxy-traversing purposes like proxy bouncing.

OPTIONS


-i, --inetd
Run from inetd (default: off)

-a, --standalone=port
Run as standalone daemon on specified port

-p, --proxy=host:_port_
Use host and port as the local proxy to connect to, if not specified the HTTP_PROXY
environment variable, if set, will be used instead

-r, --remproxy=host:_port_
Use host and port as the remote (secondary) proxy to connect to

-d, --dest=host:_port_
Use host and port as the destination for the tunnel, you can also specify them as the
argument to the proxytunnel command

-e, --encrypt
SSL encrypt data between local proxy and destination

-E, --encrypt-proxy
SSL encrypt data between client and local proxy

-X, --encrypt-remproxy
SSL encrypt data between local and remote (secondary) proxy

-W, --wa-bug-29744
If SSL is in use (by -e, -E, -X options), stop using it immediately after the CONNECT
exchange to workaround apache server bugs. (This might not work on all setups; see
/usr/share/doc/proxytunnel/README.Debian.gz for more details.)

-B, --buggy-encrypt-proxy
Equivalent to -E -W. (Provided for backwards compatibility.)

ADDITIONAL OPTIONS


-F, --passfile=filename
Use filename for reading username and password for HTTPS proxy authentication, the
file uses the same format as .wgetrc and can be shared with wget. Use this option, or
environment variables to hide the password from other users

-P, --proxyauth=username:_password_
Use username and password as credentials to authenticate against a local HTTPS proxy,
the username and password can also be specified in the PROXYUSER and PROXYPASS
environment variables to hide them from other users. If the password is ommited and no
PROXYPASS environment variable is set, proxytunnel will prompt for a password

-R, --remproxyauth=username:_password_
Use username and password as credentials to authenticate against a remote (secondary)
HTTPS proxy, the username and password can also be specified in the REMPROXYUSER and
REMPROXYPASS environment variables to hide them from other users. If the password is
ommited and no REMPROXYPASS environment variable is set, proxytunnel will prompt for a
password

-N, --ntlm
Use NTLM basd authentication

-t, --domain=STRING
Specify NTLM domain (default: autodetect)

-H, --header=STRING
Add additional HTTP headers to send to proxy

-x, --proctitle=STRING
Use a different process title

MISCELLANEOUS OPTIONS


-v, --verbose
Turn on verbosity

-q, --quiet
Suppress messages

-h, --help
Print help and exit

-V, --version
Print version and exit

ARGUMENTS


host:_port_ is the destination hostname and port number combination

Note
Specifying the destination as arguments is exactly the same as specifying them using
the -d or --dest option.

USAGE


Depending on your situation you might want to do any of the following things:

· Connect through a local proxy to your home system on port 22

$ proxytunnel -v -p proxy.company.com:8080 -d system.home.nl:22

· Connect through a local proxy (with authentication) to your home system

$ proxytunnel -v -p proxy.company.com:8080 -P username:password -d system.home.nl:22

· Connect through a local proxy (with authentication) hiding your password

$ export PROXYPASS=password
$ proxytunnel -v -p proxy.company.com:8080 -P username -d system.home.nl:22

· Connect through a local proxy to a remote proxy and bounce to any system

$ proxytunnel -v -p proxy.company.com:8080 -r proxy.athome.nl:443 -d system.friend.nl:22

· Connect using SSL through a local proxy to your home system

$ proxytunnel -v -E -p proxy.company.com:8080 -d system.home.nl:22

OPENSSH CONFIGURATION


To use this program with OpenSSH to connect to a host somewhere, create a ~/.ssh/config
file with the following content:

Host system.athome.nl
ProxyCommand proxytunnel -p proxy.company.com:8080 -d %h:%p
ServerAliveInterval 30

Note
The ServerAliveInterval directive makes sure that idle connections are not being
dropped by intermediate firewalls that remove active sessions aggresively. If you see
your connection dropping out, try to lower the value even more.

To use the dynamic (SOCKS) portforwarding capability of the SSH client, you can specify
the DynamicForward directive in your ssh_config file like:

Host system.athome.nl
DynamicForward 1080
ProxyCommand proxytunnel -p proxy.company.com:8080 -d %h:%p
ServerAliveInterval 30

NOTES


Important
Most HTTPS proxies do not allow access to ports other than HTTPS (tcp/443) and SNEWS
(tcp/563). In this case you need to make sure the SSH daemon or remote proxy on the
destination system is listening on either tcp/443 or tcp/563 to get through.

ENVIRONMENT


Proxytunnel can be influenced by setting one of the following environment variables:

HTTP_PROXY
If this environment variable is set, proxytunnel will use it as the local proxy if -p
or --proxy is not provided

PROXYUSER
If this environment variable is set, proxytunnel will use it as the username for proxy
authentication, unless specified using the -P or --proxyauth option

PROXYPASS
If this environment variable is set, proxytunnel will use it as the password for proxy
authentication, unless specified using the -P or --proxyauth option

REMPROXYUSER
If this environment variable is set, proxytunnel will use it as the username for
remote (secondary) proxy authentication, unless specified using the -R or
--remproxyauth option

REMPROXYPASS
If this environment variable is set, proxytunnel will use it as the password for
remote (secondary) proxy authentication, unless specified using the -R or
--remproxyauth option

Use proxytunnel online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    rEFInd
    rEFInd
    rEFInd is a fork of the rEFIt boot
    manager. Like rEFIt, rEFInd can
    auto-detect your installed EFI boot
    loaders and it presents a pretty GUI
    menu of boot option...
    Download rEFInd
  • 2
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 3
    Music Caster
    Music Caster
    Music Caster is a tray music player
    that lets you cast your local music to a
    Google Cast device. On the first run,
    you will need to click the arrow in your
    tas...
    Download Music Caster
  • 4
    PyQt
    PyQt
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • 5
    Sardi
    Sardi
    Sardi is a complete restyling and
    optimisation of svg code. 6 choices for
    your applications and 10 kind of folders
    to use in your file manager. The sardi
    icons...
    Download Sardi
  • 6
    LMMS Digital Audio Workstation
    LMMS Digital Audio Workstation
    LMMS is a free cross-platform software
    which allows you to produce music with
    your computer. If you like this project
    consider getting involved in the project
    h...
    Download LMMS Digital Audio Workstation
  • More »

Linux commands

  • 1
    a2query
    a2query
    a2query - retrieve runtime
    configuration from a local Apache 2 HTTP
    server ...
    Run a2query
  • 2
    a2x
    a2x
    a2x - A toolchain manager for AsciiDoc
    (converts Asciidoc text files to other
    file formats) ...
    Run a2x
  • 3
    crlutil
    crlutil
    crlutil - List, generate, modify, or
    delete CRLs within the NSS security
    database file(s) and list, create,
    modify or delete certificates entries in
    a particul...
    Run crlutil
  • 4
    crm
    crm
    Use crm online using onworks.net
    services. ...
    Run crm
  • 5
    FvwmProxy
    FvwmProxy
    FvwmProxy - the fvwm proxy module ...
    Run FvwmProxy
  • 6
    FvwmRearrange
    FvwmRearrange
    FvwmRearrange - rearrange fvwm windows ...
    Run FvwmRearrange
  • More »

Ad