Utilizing a proxy

qbee.io can connect through a proxy. The agent is tested with Squid but any other proxy should work as well.

Tip

The qbee agent can be used and bootstrapped through a proxy. This works for http (not https). Please use ip adresses of the proxy host.

Below are all the options that can be passed to the bootstrap function (for agent packages > 1.1):

# /opt/qbee/bootstrap/bootstrap.sh -h

  bootstrap.sh [-h] [-k key] [-x proxy_address] [-X proxy_port] [-U proxy_user] [-P proxy_pass] [-m proxy_method] [-s server] [-p port] ``


    -h  Show this help text
    -k  Set the bootstrap key found in the user profile (required)
    -x  Specify a proxy host to use
    -X  Specify a proxy port to use (default: 3128)
    -U  Specify a proxy username
    -P  Specify a proxy password
    -m  Specify a proxy authentication method [ntlm|basic] (default: basic)
    -s  Set the server to bootstrap to. Don't set this if you are using www.app.qbee.io (default: device.app.qbee.io)
    -p  Set the server port to bootstrap to. Don't set this if you are using www.app.qbee.io (default: 443)

Thus a bootstrap call could look like this:

root@10.121.4.211:~# /opt/qbee/bootstrap/bootstrap.sh -k xxx -x 10.121.4.255 -X 7128 -U qbee-squid -P very_secret