GithubHelp home page GithubHelp logo

Comments (6)

WordlessEcho avatar WordlessEcho commented on July 24, 2024 6

安装与卸载应该同步进行
opkg remove dnsmasq && opkg install dnsmasq-full

如果还是不慎卸载,你还有办法挽救:首先,dnsmasq 承担的是解析域名的角色,所以只需要想办法绕过域名解析就可以了

编辑 /etc/opkg/distfeeds.conf,将 downloads.openwrt.org 替换为解析到的 IP 即可。

例如:在网络正常的机器上,执行 ping 到一个源:

ping downloads.openwrt.org
PING downloads.openwrt.org (xxx.xxx.xxx.xxx) : 56 data bytes

# Or USTC mirrors
ping mirrors.ustc.edu.cn
PING mirrors.ustc.edu.cn (xxx.xxx.xxx.xxx) : 56 data bytes

ping 会显示解析出的 IP,将其记下并替换即可

参考及致谢: Shadowsocks + ChnRoute 实现 OpenWRT / LEDE 路由器自动翻墙

from openwrt-shadowsocksr-libev-full.

bettermanbao avatar bettermanbao commented on July 24, 2024

恢复出厂设置后运行readme里面下面两条命令安装,安装后确认可以访问google后,在修改SS的配置文件。
opkg update
opkg --force-overwrite install /tmp/shadowsocksr-libev-gfwlist*.ipk

from openwrt-shadowsocksr-libev-full.

ocian avatar ocian commented on July 24, 2024

[2016-05-04 06:40:00] No Problem.
但是打不开google.com
电脑上使用命令 ss-local 配合foxyproxy firefox可以正常访问
路由器通过pppoe协议连接校园网 这个有没有影响
路由器换用自己的ss代理配置还是一样无法访问google ...这里,foxyproxy启用代理与不启用代理都试过
ShadowsocksR - Watchdog Log No Problem

没有找到关于端口映射配置说明
在 Firewall - Custom Rules 最后面发现这三句
ipset create gfwlist hash:ip
iptables -t nat -I PREROUTING -p tcp -m set --match-set gfwlist dst -j REDIRECT --to-port 1080
iptables -t nat -I OUTPUT -p tcp -m set --match-set gfwlist dst -j REDIRECT --to-port 1080

已经重置 使用中科大的openwrt中转代理,
先使用命令 scp 传输安装包到路由器
然后按照上面的两条命令安装

请问还需要配置哪里 还是哪里又没有注意到

from openwrt-shadowsocksr-libev-full.

bettermanbao avatar bettermanbao commented on July 24, 2024

确认watchdog显示no problem,然后么电脑上用管理员权限运行一下ipconfig /flushdns就好了。
你这种情况比较像本机的dns缓存在shadowsocks正常运行前被污染了。

from openwrt-shadowsocksr-libev-full.

ocian avatar ocian commented on July 24, 2024

dns搞定了 圆满解决 谢谢

from openwrt-shadowsocksr-libev-full.

1-bytes avatar 1-bytes commented on July 24, 2024

安装与卸载应该同步进行
opkg remove dnsmasq && opkg install dnsmasq-full

如果还是不慎卸载,你还有办法挽救:首先,dnsmasq 承担的是解析域名的角色,所以只需要想办法绕过域名解析就可以了

编辑 /etc/opkg/distfeeds.conf,将 downloads.openwrt.org 替换为解析到的 IP 即可。

例如:在网络正常的机器上,执行 ping 到一个源:

ping downloads.openwrt.org
PING downloads.openwrt.org (xxx.xxx.xxx.xxx) : 56 data bytes

# Or USTC mirrors
ping mirrors.ustc.edu.cn
PING mirrors.ustc.edu.cn (xxx.xxx.xxx.xxx) : 56 data bytes

ping 会显示解析出的 IP,将其记下并替换即可

参考及致谢: Shadowsocks + ChnRoute 实现 OpenWRT / LEDE 路由器自动翻墙

nice :)

from openwrt-shadowsocksr-libev-full.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.