|
1 | 1 | {
|
2 |
| - "CallOnNetworkchange": false, |
3 |
| - "NetworkChangeAdapter": "enp031f6", |
4 |
| - "SetProxyOnStartUp": true, |
5 |
| - |
6 |
| - "UniquePrefixLine": "### Created by LinuxProxyChanger", |
7 |
| - "UniqueSuffixLine": "### End of LinuxProxyChanger", |
8 |
| - |
9 |
| - "BashPath": "/bin/bash", |
10 |
| - "BashCommandEnable": "source /etc/enviroment", |
11 |
| - "BashCommandDisable": "proxy_http=\nproxys_http=\nproxy_ftp=", |
12 |
| - |
13 |
| - "ProxyIp": "192.168.0.1", |
14 |
| - "Timeout": 5, |
15 |
| - |
16 |
| - "Files": [ |
17 |
| - { |
18 |
| - "Path": "C:/Users/lgund/Source/Repos/First-Coder/LinuxProxyChanger/bin/Debug/netcoreapp3.1/sample", |
19 |
| - "Proxy": [ |
20 |
| - "Zeile1", |
21 |
| - "Zeile2", |
22 |
| - "Zeile3" |
| 2 | + "CallOnNetworkchange":false, |
| 3 | + "NetworkChangeAdapter":"<NetworkAdapterName>", |
| 4 | + "SetProxyOnStartUp":true, |
| 5 | + "UniquePrefixLine":"### Created by LinuxProxyChanger", |
| 6 | + "UniqueSuffixLine":"### End of LinuxProxyChanger", |
| 7 | + "BashPath":"/bin/bash", |
| 8 | + "BashCommandEnable":"source /etc/environment", |
| 9 | + "BashCommandDisable":"proxy_http=\nproxys_http=\nproxy_ftp=", |
| 10 | + "ProxyIp":"10.1.0.0", |
| 11 | + "Timeout":5, |
| 12 | + "Files":[ |
| 13 | + { |
| 14 | + "Path":"/etc/environment", |
| 15 | + "Proxy":[ |
| 16 | + "http_proxy=http://<ProxyIP>:<ProxyPort>/", |
| 17 | + "http_proxy=https://<ProxyIP>:<ProxyPort>/", |
| 18 | + "ftp_proxy=http://<ProxyIP>:<ProxyPort>/", |
| 19 | + "no_proxy=<ProxyExceptions>" |
| 20 | + ] |
| 21 | + }, |
| 22 | + { |
| 23 | + "Path":"/etc/systemd/system/docker.service.d/http-proxy.conf", |
| 24 | + "Proxy":[ |
| 25 | + "[Service]", |
| 26 | + "Environment=\"HTTP_PROXY=http://<ProxyIP>:<ProxyPort>\"", |
| 27 | + "Environment=\"HTTPS_PROXY=http://<ProxyIP>:<ProxyPort>\"", |
| 28 | + "Environment=\"ProxyExceptions>\"" |
| 29 | + ] |
| 30 | + }, |
| 31 | + { |
| 32 | + "Path":"/etc/apt/apt.conf.d/proxy.conf", |
| 33 | + "Proxy":[ |
| 34 | + "Acquire::http::Proxy \"http://<ProxyIP>:<ProxyPort>/\";", |
| 35 | + "Acquire::https::Proxy \"http://<ProxyIP>:<ProxyPort>/\";" |
23 | 36 | ]
|
24 |
| - } |
| 37 | + } |
25 | 38 | ]
|
26 | 39 | }
|
0 commit comments