catzera n00b
Joined: 22 Nov 2022 Posts: 21
|
Posted: Fri Nov 25, 2022 9:36 am Post subject: clash not working for system proxy |
|
|
Hi ,I download clash-linux-amd64-v1.11.12 from https://github.com/Dreamacro/clash/releases today .
After the client started ,I can connect to the server through firefox with firefox proxy set (in browser settings), but when I tried to get connected with terminal it failed .
And I tried to set system proxy through kde settings, {http, https}_proxy in terminal, and in make.conf ,neither worked .
How can I fix it?
Here's some information
clash service
Code: | pigsy@pigsy clash % sudo ./clash -d .
Password:
Sorry, try again.
Password:
INFO[0000] Start initial compatible provider Others
INFO[0000] Start initial compatible provider Proxy
INFO[0000] Start initial compatible provider Domestic
INFO[0000] Start initial compatible provider AsianTV
INFO[0000] Start initial compatible provider GlobalTV
INFO[0000] HTTP proxy listening at: [::]:7890
INFO[0000] SOCKS proxy listening at: [::]:7891
INFO[0000] RESTful API listening at: [::]:9090
INFO[0000] Redirect proxy listening at: [::]:7892 |
config.yaml
Code: | # HTTP proxy port
port: 7890
# SOCKS5 proxy port
socks-port: 7891
# Linux , macOS redir proxy port
redir-port: 7892
#
allow-lan: true
#
mode: rule
#
# Clash RESTful API
external-controller: '0.0.0.0:9090'
|
firefox proxy settings
Code: | HTTP Proxy [127.0.0.1] Port [7890]
HTTPS Proxy[127.0.0.1] Port[7890]
SOCKS Host[127.0.0.1] Port[7891]
[ ]SOCKS v4 [X]SOCKS v5 |
Proxy settings in terminal and make.conf
Code: | http_proxy="http://127.0.0.1:7890"
https_proxy="https://127.0.0.1:7890" |
Hope for your reply , thank you. |
|