Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法正常工作 #1

Open
demonguy opened this issue May 6, 2015 · 0 comments
Open

无法正常工作 #1

demonguy opened this issue May 6, 2015 · 0 comments

Comments

@demonguy
Copy link

demonguy commented May 6, 2015

我用了你的东西。最后发现域名能正常解析,也会正确的放进对应的ipset里。但是走这个IP的时候就是不会翻墙
首先我确认我的dnsmasq是正确的。因为我执行nslookup www.facebook.com 的时候,返回的IP是31.13.79.246,这个时候我再进去ipset list gfwlist的时候,会发现这个31.13.79.246在members里面
所以我怀疑是不是我打上的标记有问题,但是我确实执行了
iptables -t mangle -A fwmark -m set --match-set gfwlist dst -j MARK --set-mark 8
也确实执行了
ip rule add fwmark 8 table vpn
同时table vpn里就这么两条:
192.168.31.0/24 dev br-lan scope link
default dev pptp-vpn scope link

但是我不知道为什么,当我traceroute 31.13.79.246, 走的网关并不是VPN
求解。。为啥?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant