mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
system-proxy: cleanup and example enhancement
This commit is contained in:
parent
8da3e3415c
commit
6b38a32cb1
@ -4,16 +4,20 @@ System Proxy
|
||||
============
|
||||
|
||||
Some IT environments require the use of a proxy to connect to the Internet.
|
||||
The option allowes to set a HTTP proxy and if necessary, supports `basic auth`_.
|
||||
The ``system proxy`` option sets the configuration for a proxy, and if necessary, supports `basic auth`_.
|
||||
|
||||
The code example below sets a proxy for all HTTP, HTTPS and FTP (anonymous ftp) connections, initiated by vyos.
|
||||
This example sets a proxy for all connections initiated by VyOS, including HTTP, HTTPS, and FTP (anonymous ftp).
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
set system proxy url http://10.100.100.1
|
||||
set system proxy port 8080
|
||||
|
||||
That enables the update of a system image if the vyos system operates behind a proxy.
|
||||
# If a username and password are required
|
||||
set system proxy username vyosuser
|
||||
set system proxy password vyosuser-password
|
||||
|
||||
That enables the update of a system image if the VyOS system operates behind a proxy.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user