“Chrome firefox配置SwitchyOmega翻墙”的版本间的差异

来自linux中国网wiki
跳到导航 跳到搜索
 
(未显示同一用户的7个中间版本)
第7行: 第7行:
 
<pre>
 
<pre>
  
 +
##for test
 +
--proxy-server="https=socks5://192.168.10.105:1081"
 +
##for test
 +
 +
 +
#注意  PC时间要和服务器一样是正式的 慢1m也是不行的 
 +
####!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
 +
 +
#openbsd
 
#个人电脑 kali201930用这个加crontab 就可以了 sudo apt  install shadowsocks-libev 要看官网
 
#个人电脑 kali201930用这个加crontab 就可以了 sudo apt  install shadowsocks-libev 要看官网
 
  sudo apt  install shadowsocks-libev
 
  sudo apt  install shadowsocks-libev
第19行: 第28行:
  
 
#本地apt shadowsock and then  ok 20190728 因为我本地的端口是7070
 
#本地apt shadowsock and then  ok 20190728 因为我本地的端口是7070
chromium --proxy-server="http=socks5://127.0.0.1:7070"
+
chromium --proxy-server="https=socks5://127.0.0.1:7070"
 
/opt/google/chrome/chrome --proxy-server="https=socks5://127.0.0.1:7070"
 
/opt/google/chrome/chrome --proxy-server="https=socks5://127.0.0.1:7070"
 +
 +
直接打开 
 +
https://chrome.google.com/webstore/category/extensions?hl=zh
 +
  
 
pip 安装 2019后尽量不用这种了
 
pip 安装 2019后尽量不用这种了
第109行: 第122行:
 
===配置SwitchyOmeg===
 
===配置SwitchyOmeg===
 
<pre>
 
<pre>
 +
首先
 +
proxy 填写你本地 socks5  ip  port
  
界面--> 切换选项 初始情景模式-->auto -->  -->  -->
+
不代理的地址列表
  
 +
127.0.0.1
 +
::1
 +
localhost
 +
192.168.11.0/24
 +
192.168.10.0/24
 +
 +
然后
 +
配置一个规则代理
 +
auto switch  删除默认的配置 -->
 +
 +
界面--> 切换选项 初始情景模式-->auto switch -->  -->  -->
 +
 +
 +
一般就用这个列表的 除非有说 加载不了的 再手工 ,不然手工多了 会很慢的 有时连正常的也要FQ就不好了
 
左边 auto -->规则列表设置  AutoProxy  -->  https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt -->
 
左边 auto -->规则列表设置  AutoProxy  -->  https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt -->
 +
 +
 +
更新不了记得 默认情景模式 use proxy 
 +
 +
 +
简单修改一下配置
 +
 +
规则列表 (按照规则列表匹配请求)  proxy
 +
默认情景模式  直接连接
 +
 +
 
</pre>
 
</pre>
 +
 +
  
 
<gallery>
 
<gallery>
 
sw.png
 
sw.png
 
</gallery>
 
</gallery>
 +
 +
[https://blog.csdn.net/onionm/article/details/99699297  Proxy SwitchyOmega 使用教程]
  
 
[https://www.cnblogs.com/LyndonMario/p/9326176.html chrome神插件之:SwitchyOmega的安装设置]
 
[https://www.cnblogs.com/LyndonMario/p/9326176.html chrome神插件之:SwitchyOmega的安装设置]
 +
 +
https://yearliny.com/switchyomega-tutorial/
 +
 +
https://docs.helpsme.org/docs/technology/technology-1c0p8gssqectn
 +
 +
https://www.phpvar.com/archives/4567.html
  
 
=使用问题=
 
=使用问题=
第140行: 第190行:
 
https://github.com/gfwlist/gfwlist/issues/1056
 
https://github.com/gfwlist/gfwlist/issues/1056
  
=参考=
+
=references参考=
 
[http://blog.linuxchina.net/?p=845 ssh+chrome翻墙 from blog]
 
[http://blog.linuxchina.net/?p=845 ssh+chrome翻墙 from blog]
  

2023年9月26日 (二) 06:40的最新版本

pre

搭建shadowsocks服务器端 详见Shadowsocks安装与配置

client

linux(debian pc) or freebsd12


##for test 
--proxy-server="https=socks5://192.168.10.105:1081"
##for test


#注意  PC时间要和服务器一样是正式的 慢1m也是不行的  
####!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost

#openbsd
#个人电脑 kali201930用这个加crontab 就可以了 sudo apt  install shadowsocks-libev 要看官网
 sudo apt  install shadowsocks-libev
ss-local -s linuxsa.org   -p 443  -k "pass" -l 7070 -t 600 -m aes-256-cfb 


apt install shadowsocks 
sslocal -s linuxsa.org   -p 443  -k "pass" -l 7070 -t 600 -m aes-256-cfb #新的用这个




#本地apt shadowsock and then  ok 20190728 因为我本地的端口是7070
chromium --proxy-server="https=socks5://127.0.0.1:7070"
/opt/google/chrome/chrome --proxy-server="https=socks5://127.0.0.1:7070"

直接打开  
https://chrome.google.com/webstore/category/extensions?hl=zh


pip 安装 2019后尽量不用这种了
sudo apt-get install python-pip
安装shadowsocks:
sudo pip install shadowsocks
新建shadowsocks配置文件shadowsocks.json:
{
"server": "xxx.xxx.xxx.xxx",
"server_port": xxxx,
"local_port": 1080,
"password": "xxxxxxx",
"timeout": 600,
"method": "aes-256-cfb"
}

eg
{
    "server":"linuxsa.org",
    "server_port":443,
    "local_port":1080,
    "password":"laipass",
    "timeout":600,
    "method":"aes-256-cfb"
}

#启动
 sslocal -c /home/evan/shadowsocks.json -d start



apt install shadowsocks
evan@elite:/etc/shadowsocks$ cat config.json
{
    "server":"ss.linuxsa.org",
    "server_port":8388,
    "local_port":1080,
    "password":"lai2240",
    "timeout":600,
    "method":"aes-256-cfb",
    "local_address":"127.0.0.1",
    "fast_open":false,
    "tunnel_remote":"8.8.8.8",
    "dns_server":["8.8.8.8", "8.8.4.4"],
    "tunnel_remote_port":53,
    "tunnel_port":53,
    "libopenssl":"C:\\Program Files\\Git\\mingw64\\bin\\libeay32.dll",
    "libsodium":"/usr/local/lib/libsodium.so",
    "libmbedtls":"/usr/local/lib/libmbedcrypto.2.4.0.dylib"
}

sudo systemctl enable shadowsocks

linux 服务器

Ubuntu利用shadowsocks终端翻墙

windows

下载shadowsocks客户端

下载shadowsocks客户端软件

配置shadowsocks客户端

浏览器

chrome2019

1.安装chrome浏览器翻墙插件  要先翻墙 再play.google 

#本地apt shadowsock and then  ok 20190728 freebsd12上也是 因为我本地的端口是7070

/opt/google/chrome/chrome --proxy-server="https=socks5://127.0.0.1:7070"

chromium --proxy-server="http=socks5://127.0.0.1:1080"

然后直接 同步帐号 就什么都有了啦 不用再安装什么插件 哈哈  换新电脑这样就行了

chrome 同步

https://chrome.google.com/sync?otzr=1

https://www.google.com/sync/index.html

firefox

打开页面直接双击proxy_switchyomega-2.5.10-an.fx.xpi

配置SwitchyOmeg

首先 
proxy 填写你本地 socks5  ip  port

不代理的地址列表

127.0.0.1
::1
localhost
192.168.11.0/24
192.168.10.0/24

然后 
配置一个规则代理
auto switch  删除默认的配置 -->

界面--> 切换选项 初始情景模式-->auto switch -->  -->  -->


一般就用这个列表的 除非有说 加载不了的 再手工 ,不然手工多了 会很慢的 有时连正常的也要FQ就不好了 
左边 auto -->规则列表设置  AutoProxy   -->  https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt -->


更新不了记得 默认情景模式 use proxy  


简单修改一下配置

规则列表 (按照规则列表匹配请求)  proxy
默认情景模式  直接连接



Proxy SwitchyOmega 使用教程

chrome神插件之:SwitchyOmega的安装设置

https://yearliny.com/switchyomega-tutorial/

https://docs.helpsme.org/docs/technology/technology-1c0p8gssqectn

https://www.phpvar.com/archives/4567.html

使用问题

一开始不能自动翻墙 我用几个 proxy,然后添加对URL的规则就行了
要有个 规则列表规则 	(按照规则列表匹配请求)  proxy  on auto switch 不然老是要手工才会FQ




chrome 突然帐号同步不成功 登录不了gmail

SwitchyOmega 自动切换模式下 Chrome 无法登陆谷歌账户

添加规则 之后便可正常登陆

  • .googleapis.com +proxy

https://github.com/gfwlist/gfwlist/issues/1056

references参考

ssh+chrome翻墙 from blog

Ubuntu系统下浏览器和终端的SS代理配置

新翻墙代理服务器

[Proxy] centOS 7 设置Proxy的二三事