1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| export https_proxy=http://10.0.4.190:9091 http_proxy=http://10.0.4.190:9091
sysprop https.proxyHost 10.0.4.190 sysprop https.proxyPort 9091 sysprop http.proxyHost 10.0.4.190 sysprop http.proxyPort 9091
ognl '@java.lang.System@clearProperty("https.proxyHost")' ognl '@java.lang.System@clearProperty("https.proxyPort")' ognl '@java.lang.System@clearProperty("http.proxyHost")' ognl '@java.lang.System@clearProperty("http.proxyPort")'
sysprop | grep proxy
* PS: 不用这么麻烦, 上面是因为DNS劫持导致域名没有找到IP才需要做的操作, 域名之所以被劫持还是因为开了clash代理(默认劫持了DNS)
|