![]() ![]() Update: Bitbar has been renamed to xbar - it's an open-source GUI for text-mode scripts written in bash/applescript/node/golang/etc. The bitbar script linked in the answer also contains the commands for setting a SOCK5 or PAC proxy. If you need a GUI wrapper for setting the HTTP/SOCKS/PAC proxies then check out this answer. ![]() To find the active network interface run this from your terminal: scutil -nwi | awk -F': ' '/Network interfaces/ ' en0 and you'll need to use that instead of wi-fi. Download ClashX Pro With enhanced mode and other advance feature at AppCenter for free. HTTP/HTTPS and SOCKS protocol Surge like configuration GeoIP rule support Support Vmess/Shadowsocks/Socks5 Support for Netfilter TCP redirect Install. If you are connected via ethernet then most likely the interface will be en e.g. ClashX A rule based proxy For Mac base on Clash. Getting the correct network interface nameĪll the commands above assume your netowork interface is wi-fi. To disable the socks proxy use: networksetup -setsocksfirewallproxystate wi-fi off Networksetup -setsocksfirewallproxystate wi-fi on Set system-wide SOCKS5 proxy networksetup -setsocksfirewallproxy wi-fi localhost 1080 This is equivalent to setting the proxy via mac system settings > Network > wi-fi > Advanced > Proxies > Web proxy. To disable the proxy: networksetup -setwebproxystate wi-fi off This assumes your network interface is called wi-fi (or Wi-Fi), and that your proxy is running on localhost on port 8080. If you feel that the Internet speed is not good, try some other servers,or update your subcription plan.To globally set an http proxy system-wide on MacOS (not just for a terminal session) you can use: networksetup -setwebproxy wi-fi localhost 8080 ![]() You can open to confirm that the connection is successful. Proxifier is always up to date with the latest OS versions, including Windows 11 and macOS Ventura. URL: Paste the Clash config URL → Config Name: cmespeed → click OK
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |