ClashX Pro and Wireguard on Macbook In School Net

导言

It is peice of shit that I can not access google if I turn on the wiregaurd and clash at the same time.

target

  1. access my lab nodes
  2. network service
  3. fluent google access
  4. use wireguard to access my Nas in dormitary(paper)

!!! failure annotate “Reason: google cannot access”

Superficial reason is the chrome extension `SwitchyOmega` option `系统代理` can not get work. you can simple fix it just use option `proxy` to use `127.0.0.1:7890` to get proxied.

The deep reason is when you turn on the wireguard, the system proxy turn to useless(1) which leading to the web-browser,e.g, chrome,safari can not use mac system proxy. But the `127.0.0.1:7890` still works.[^1]
  1. clashX symbol changed from :material-sticker-check-outline: to :material-sticker-minus-outline:

solution

SwitchyOmega choose proxy with clash and wiregaurd on under eduroam or your mobile’s wifi.

参考文献

[^1]: Wireguard VPN: System ignoring proxy settings

Author

Shaojie Tan

Posted on

2023-11-03

Updated on

2025-01-30

Licensed under