mirror of
https://github.com/clearlinux/clear-linux-documentation.git
synced 2026-08-26 02:18:22 +00:00
changes based on reviewer comments
This commit is contained in:
@@ -4,18 +4,17 @@ resolve the proxy needed for a given connection. With Autoproxy, you can use
|
||||
|CL| inside any proxy environment without having to manually
|
||||
configure the proxies.
|
||||
|
||||
* Automate unit testing without worrying about the proxy not being set
|
||||
* Remove unset proxies from the equation when dealing with network
|
||||
unavailability across systems.
|
||||
|
||||
Corporate and private networks can be very complex, needing to restrict and
|
||||
control network connections for security reasons. The typical side effects
|
||||
are limited or blocked connectivity and requiring manual configuration of
|
||||
proxies to perform the most mundane tasks such as cloning a repo or checking
|
||||
for updates. With Clear Linux, all of the work is done behind the scenes to
|
||||
for updates. With |CL|, all of the work is done behind the scenes to
|
||||
effortlessly use your network and have connections “just work”.
|
||||
|
||||
This feature removes massive complications in network connectivity due to
|
||||
proxy issues. You can automate tasks like unit testing without worrying
|
||||
about the proxy not being set and you can remove unset proxies from the
|
||||
equation when dealing with network unavailability across systems.
|
||||
|
||||
How Autoproxy works
|
||||
-------------------
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
Autoproxy allows |CL| to operate seamlessly behind a proxy
|
||||
because, :ref:`swupd-guide` and other |CL| tools are implemented on
|
||||
because :ref:`swupd-guide` and other |CL| tools are implemented on
|
||||
top of libcurl. Tools that do not use libcurl, like git, must
|
||||
be configured independently.
|
||||
|
||||
If you encounter problems with autoproxy functioning, use
|
||||
:command:`pacdiscovery` and :command:`FindProxyForURL` to
|
||||
:command:`sudo pacdiscovery` and :command:`FindProxyForURL` to
|
||||
help troubleshoot assuming a familiarity with PAC files and WPAD.
|
||||
|
||||
.. note::
|
||||
@@ -54,8 +54,9 @@ an external URL and host are provided as arguments.
|
||||
$ busctl call org.pacrunner /org/pacrunner/client org.pacrunner.Client FindProxyForURL ss "http://www.google.com" "google.com"
|
||||
s "PROXY proxy.your.domain.com:<port>"
|
||||
|
||||
If a proxy server is not avialable, or if :command:`pacrunner` is running
|
||||
without a PAC file, :command:`FindProxyForURL` will return "DIRECT".
|
||||
If a proxy server is not available, or if :command:`pacrunner` is running
|
||||
without a PAC file, :command:`FindProxyForURL` will return "DIRECT". Otherwise,
|
||||
it should return your local proxy settings as shown above.
|
||||
|
||||
.. code:: console
|
||||
|
||||
|
||||
Reference in New Issue
Block a user