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

求助,ss_tunnel配置dns转发,tcp可用,udp不可用 #302

Open
laole918 opened this issue Dec 22, 2023 · 0 comments
Open

求助,ss_tunnel配置dns转发,tcp可用,udp不可用 #302

laole918 opened this issue Dec 22, 2023 · 0 comments

Comments

@laole918
Copy link

/etc/config/shadowsocks-libev配置如下,OpenWrt IP是192.168.1.159

config ss_tunnel
        option disabled 0
        option server 'sss0'
        option local_address '0.0.0.0'
        option local_port '8053'
        option tunnel_address '8.8.8.8:53'
        option mode 'tcp_and_udp'//这里使用udp_only也无法启动udp服务
        option timeout '60'

在Mac命令行测试如下,Mac跟OpenWrt在同一个网络环境下。

~ nslookup -port=8053 google.com 192.168.1.159//udp测试
;; connection timed out; no servers could be reached

➜  ~ nslookup -vc -port=8053 google.com 192.168.1.159//tcp测试
Server:		192.168.1.159
Address:	192.168.1.159#8053

Non-authoritative answer:
Name:	google.com
Address: 172.217.160.110

OpenWrt固件版本如下两个测试均有问题
openwrt-22.03.5-x86-64-generic-ext4-combined-efi.img.gz
openwrt-23.05.2-x86-64-generic-ext4-combined-efi.img.gz
按照官方教程安装的
按照官方教程配置的

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