![]() ![]() 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. feature: Proxy mode can be switched at any time and node. Features of ClashX, support HTTP/HTTPS and SOCKS protocols support GeoIP rules support SS and V2Ray protocols. ClashX is a Mac rules based proxy for Clash. To find the active network interface run this from your terminal: scutil -nwi | awk -F': ' '/Network interfaces/ ' ClashX is a scientific online tool running on macOS. en0 and you'll need to use that instead of wi-fi. ![]() If you are connected via ethernet then most likely the interface will be en e.g. 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. Using url scheme describe below clash://install-config?url=http%3A%2F%2Fexample.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 Last update: ClashX A rule based proxy For Mac base on Clash. Place your icon file in the ~/.config/clash/menuImage.png then restart ClashX Change default system ignore list.ĭownload sample plist in the Here and place in the ~/.config/clash/istĮdit the ist to set up your own proxy ignore list ClashX - A rule based proxy For Mac base on Clash. update clash core to dev Dreamacro/clash5212aaf, improve proxy status display accuracy. The General section settings in your custom config file would be ignored. fix macOS 14 beta2 crash issue and menu display issue. Please modify the config.yaml file generated by ClashX, not the other config file you created or downloaded. The version of ClashX for Mac you are about to download is 1.116.3. We also encourage you to check the files with your own antivirus before launching the installation. The software is periodically scanned by our antivirus system. Advance Config Change the ports of ClashX Thank you for downloading ClashX for Mac from our software portal. You can use your custom config name and switch config in menu Config section.Ĭheckout Clash or SS-Rule-Snippet for Clash or lancellc's gitbook for more detail. fix macOS 14 beta2 crash issue and menu display issue. The default name of the configuration file is config.yaml. The default configuration directory is $HOME/.config/clash This plugin is used to set up the system proxy, otherwise you will need to enter your administrator password each time you connect to the VPN. Make sure have python3 and golang installed in your computer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |