Comments (12)
看看 /tmp/dnsmasq.d/v2ray
里边有没有这个网址
from luci-app-v2ray.
然后把你的域名手动填入 Extra direct list
from luci-app-v2ray.
/tmp/dnsmasq.d/v2ray
里面有相应的域名。
开启透明代理后,一切正常,我手动填入 extra direct list 的域名也可以正常作用,但是一旦填写 extra proxy list 里面的域名后,就无法访问任何网站了,包括百度等国内网站,而且直接从 luci 界面无法删除填入的 extra proxy list 里面的域名,需要到 /etc/v2ray
路径下删除 proxylist.txt 文件才可以。
透明代理的模式我设置的是 fgwlist.txt 模式
from luci-app-v2ray.
如果不手动删除 /etc/v2ray
里面的 proxylist.txt 文件,即使关闭透明代理,依然无法上网
from luci-app-v2ray.
防火墙规则贴一下,需要信息
但是我发现列表剩最后一行的时候确实删不掉,我先看看这个问题
from luci-app-v2ray.
开启透明代理后,iptables -t nat -nvL 输出如下:
`Chain PREROUTING (policy ACCEPT 3 packets, 542 bytes)
pkts bytes target prot opt in out source destination
6 726 prerouting_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom prerouting rule chain /
4 262 zone_lan_prerouting all -- br-lan * 0.0.0.0/0 0.0.0.0/0 / !fw3 /
0 0 zone_wan_prerouting all -- eth0.2 * 0.0.0.0/0 0.0.0.0/0 / !fw3 /
0 0 zone_wan_prerouting all -- pppoe-wan * 0.0.0.0/0 0.0.0.0/0 / !fw3 /
2 464 zone_guest_prerouting all -- wlan1 * 0.0.0.0/0 0.0.0.0/0 / !fw3 */
0 0 V2RAY tcp -- * * 0.0.0.0/0 0.0.0.0/0
Chain INPUT (policy ACCEPT 1 packets, 78 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 V2RAY tcp -- * * 0.0.0.0/0 0.0.0.0/0
Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
8 480 postrouting_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: Custom postrouting rule chain /
0 0 zone_lan_postrouting all -- * br-lan 0.0.0.0/0 0.0.0.0/0 / !fw3 /
0 0 zone_wan_postrouting all -- * eth0.2 0.0.0.0/0 0.0.0.0/0 / !fw3 /
6 364 zone_wan_postrouting all -- * pppoe-wan 0.0.0.0/0 0.0.0.0/0 / !fw3 /
0 0 zone_guest_postrouting all -- * wlan1 0.0.0.0/0 0.0.0.0/0 / !fw3 */
Chain V2RAY (2 references)
pkts bytes target prot opt in out source destination
0 0 RETURN tcp -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0xff
0 0 RETURN tcp -- * * 0.0.0.0/0 0.0.0.0/0 match-set v2ray_dst_direct_v4 dst
0 0 REDIRECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 match-set v2ray_dst_proxy_v4 dst redir ports 1081
Chain postrouting_guest_rule (1 references)
pkts bytes target prot opt in out source destination `
from luci-app-v2ray.
如果你是用的自定义配置文件的话,v2ray_dst_direct_v4 这个 ipset 表里不会自动创建添加你服务器的 IP 地址。需要你手动在 Extra direct list 里边填入
from luci-app-v2ray.
填入 extra proxy list,然后开启透明代理
看看防火墙规则和 /tmp/dnsmasq.d/v2ray
和 ipset 是否正常
from luci-app-v2ray.
有可能是由于你的 dnsmasq 不支持 ipset 导致它没启动起来。
看看 ps -w
看看是否有 dnsmsq 服务
from luci-app-v2ray.
找到问题了,我的 dnsmasq 是 full 版本,这个 ok,ipset list 也正常
你说的对,问题出在 extra direct list 里面,我把 vmess 服务器的 ip 地址写了 direct list 里面,但是我的 vmess 用的是域名,我把服务器的域名也写到 extra direct list 里面,就正常了
from luci-app-v2ray.
我刚才做了个提交,使用自定义配置文件时自动扫描添加配置文件里边的服务端 IP
d531646
马上发布一个新版本,用新版本后就不需要手动添加 direct 服务器域名了
from luci-app-v2ray.
我刚才做了个提交,使用自定义配置文件时自动扫描添加配置文件里边的服务端 IP
d531646
马上发布一个新版本,用新版本后就不需要手动添加 direct 服务器域名了
非常感谢
from luci-app-v2ray.
Related Issues (20)
- [Bounty] 持续性更新维护 HOT 5
- OpenWrt 22.03 version is not supported HOT 6
- 如何让ping和ssh 直连? HOT 2
- OpenWrt 22.03适配 HOT 39
- dokodemo_door代理端口异常 HOT 1
- webRTC leak
- bug报告:luci-app-v2ray总是自动给json文件添加不必要的斜杠
- v2ray 服务起不来 HOT 1
- CHNRoute和GFWlist更新失败 HOT 1
- whats this error
- public key is missing in website HOT 2
- 为什么v2ray-core 安装后 /etc/init.d/v2ray 文件会与luci-app-v2ray 的冲突导致安装失败? HOT 5
- Cannot open file kuoruan-public.keyecho
- Unknown package 'luci-app-v2ray'.
- freedom功能增强 HOT 1
- 为什么opkg源中要移除luci-app-v2ray这个包?
- I get http error 403 when trying to get the public key
- Service not starting
- daemon.err v2ray: Invalid V2Ray file. 无法启动v2ray HOT 1
- 如何配置进站出站? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luci-app-v2ray.