Skip to content

Commit 5fda52a

Browse files
authored
Merge pull request #1 from SoulofSorrow/patch-2
Update settings.json
2 parents 8e2517c + 26a15dd commit 5fda52a

File tree

1 file changed

+35
-22
lines changed

1 file changed

+35
-22
lines changed

settings.json

Lines changed: 35 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,39 @@
11
{
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>/\";"
2336
]
24-
}
37+
}
2538
]
2639
}

0 commit comments

Comments
 (0)