mirror of
https://github.com/AdguardTeam/AdguardKnowledgeBase.git
synced 2025-02-20 11:13:10 +08:00
Merge pull request #519 from AdguardTeam/android/tasker
Update Tasker instruction
This commit is contained in:
commit
e2c0a3bce8
@ -77,10 +77,52 @@ So, ready to get your hands dirty? Here are actions that, when included in the i
|
||||
|
||||
<a name="action_proxy_server"></a>
|
||||
|
||||
`proxy_default` – sets the proxy from the list of previously added ones as default. You need to include additional data:
|
||||
|
||||
|
||||
`proxy_default` – sets the proxy from the list of previously added ones as default or creates a new one if server has not been added before.
|
||||
|
||||
You need to specify additional data:
|
||||
|
||||
`server:[name]` – where `[name]` is the name of the outbound proxy from the list.
|
||||
|
||||
Or you can configure server parameters manually:
|
||||
|
||||
`server:[type=…&host=…&port=…&username=…&password=…&udp=…&trust=…]`.
|
||||
|
||||
`proxy_remove` - removes the proxy server from the list of previously added ones.
|
||||
|
||||
`server:[name]` – where `[name]` is the name of the outbound proxy from the list.
|
||||
|
||||
Or you can configure remove parameters manually:
|
||||
|
||||
`server:[type=…&host=…&port=…&username=…&password=…&udp=…&trust=…]`.
|
||||
|
||||
* **Compulsory parameters**:
|
||||
|
||||
`[type]` - proxy server type:
|
||||
- HTTP;
|
||||
- SOCKS4;
|
||||
- SOCKS5;
|
||||
- HTTPS_CONNECT.
|
||||
|
||||
`[host]` - outbound proxy domain or IP address;
|
||||
|
||||
`[port]` - outbound proxy port (Integer number from 1 to 65535);
|
||||
|
||||
* **Optional parameters**:
|
||||
|
||||
`[login and password]` - only if proxy requires it. This data is ignored when setting up **SOCKS4**;
|
||||
|
||||
`[udp]` - applied only on **SOCKS5** server type and include option **UDP through SOCKS5**. It is necessary to set **true or false** value;
|
||||
|
||||
`[trust]` - applies for **HTTPS_CONNECT** server type only and include option **Trust any certificates**. It is necessary to set **true or false** value.
|
||||
|
||||
> **Example**:
|
||||
|
||||
`setting by name`: server:MyServer
|
||||
|
||||
`manually settings`: server:host=1.2.3.4&port=80&type=SOCKS5&username=foo&password=bar&udp=true
|
||||
|
||||
-----
|
||||
|
||||
**Don't forget to include the password as an extra and mention package name and class! You need to do so for every intent!**
|
||||
|
@ -85,7 +85,46 @@ taxonomy:
|
||||
|
||||
Дополнительно необходимо указать следующие параметры:
|
||||
|
||||
`server:[name]`, где `[name]` – это имя исходящего прокси из списка.
|
||||
`server:[name]`, где `[name]` – это имя исходящего прокси-сервера из списка.
|
||||
|
||||
Также вы можете настроить параметры сервера вручную:
|
||||
|
||||
`server:[type=…&host=…&port=…&username=…&password=…&udp=…&trust=…]`.
|
||||
|
||||
`proxy_remove` - удаляет прокси-сервер из списка ранее добавленных.
|
||||
|
||||
`server:[name]`, где `[name]` – это имя исходящего прокси сервера из списка.
|
||||
|
||||
Также вы можете настроить параметры сервера вручную:
|
||||
|
||||
`server:[type=…&host=…&port=…&username=…&password=…&udp=…&trust=…]`.
|
||||
|
||||
* **Обязательные настройки**:
|
||||
|
||||
`[type]` - тип сервера:
|
||||
- HTTP;
|
||||
- SOCKS4;
|
||||
- SOCKS5;
|
||||
- HTTPS_CONNECT.
|
||||
|
||||
`[host]` - домен или IP-адрес исходящего прокси-сервера;
|
||||
|
||||
`[port]` - порт исходящего прокси-серера (Целое число от 1 до 65535);
|
||||
|
||||
* **Дополнительные настройки**:
|
||||
|
||||
`[login and password]` - только если этого требует прокси-сервер. Эти данные игнорируются при настройке SOCKS4;
|
||||
|
||||
`[udp]` - применяется только при использовании типа сервера: **SOCKS5** и включает опцию **UDP через SOCKS5**. Необходимо указать значение: **true/false**;
|
||||
|
||||
`[trust]` - применяется только для типа сервера: **HTTPS_CONNECT** и включает опцию **Trust any certificates**. Необходимо указать значение: **true/false**;
|
||||
|
||||
> **Пример**:
|
||||
|
||||
`настройка по имени сервера`: server:MyServer
|
||||
|
||||
`настройка вручную`: server:host=1.2.3.4&port=80&type=SOCKS5&username=foo&password=bar&udp=true
|
||||
|
||||
|
||||
-----
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user