Skip to content

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

@laole918

Description

@laole918

/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
按照官方教程安装的
按照官方教程配置的

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions