首页
随机
最近更改
特殊页面
社群首页
参数设置
关于WHY42
免责声明
WHY42
搜索
用户菜单
登录
欢迎来到Riguz的小站!这是一个私人wiki,用来记录一些我的笔记。
查看“︁Xshell:动态代理”︁的源代码
←
Xshell:动态代理
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
如果有国外的服务器,则可以通过ssh隧道实现动态代理。在Xshell的SSH-> 隧道中增加Dynamic (SocketV4/5)的连接。 然后在chrome上安装SwitchyOmega插件,并导入规则(保存为txt后导入即可): <source lang="cpp"> { "+GFWed": { "bypassList": [{ "conditionType": "BypassCondition", "pattern": "<local>" }], "color": "#99ccee", "fallbackProxy": { "host": "127.0.0.1", "port": 1080, "scheme": "socks5" }, "name": "GFWed", "profileType": "FixedProfile", "revision": "153abe56d04" }, "+__ruleListOf_自动切换": { "color": "#99dd99", "defaultProfileName": "direct", "format": "AutoProxy", "matchProfileName": "GFWed", "name": "__ruleListOf_自动切换", "profileType": "RuleListProfile", "revision": "153abdf798a", "ruleList": "", "sourceUrl": "https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt", "lastUpdate": null }, "+自动切换": { "color": "#99dd99", "defaultProfileName": "__ruleListOf_自动切换", "name": "自动切换", "profileType": "SwitchProfile", "revision": "153abd3207f", "rules": [{ "condition": { "conditionType": "HostWildcardCondition", "pattern": "raw.githubusercontent.com" }, "profileName": "GFWed" }] }, "-confirmDeletion": true, "-downloadInterval": 1440, "-enableQuickSwitch": false, "-monitorWebRequests": true, "-quickSwitchProfiles": [], "-refreshOnProfileChange": true, "-revertProxyChanges": true, "-showInspectMenu": true, "-startupProfileName": "", "schemaVersion": 2 } </source> 然后就可以享用自动切换代理模式了。 [[Category:Linux/Unix]]
返回
Xshell:动态代理
。