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

immortalwrt固件homeproxy睡一觉醒来就无法访问国外了 #240

Open
7 of 8 tasks
soapmancn opened this issue Dec 10, 2024 · 1 comment
Open
7 of 8 tasks
Labels
bug Something isn't working

Comments

@soapmancn
Copy link

Bug description

immortalwrt固件homeproxy睡一觉醒来第二天国外网站就无法访问了,查看状态还是运行中,检测服务状态国内是通过,国外是未通过,重新关闭homeproxy再开启,国外才会检测通过并访问。

Actual behavior

No response

Expected behavior

No response

Steps to reproduce

No response

HomeProxy configuration

config homeproxy 'infra'
option __warning 'DO NOT EDIT THIS SECTION, OR YOU ARE ON YOUR OWN!'
option common_port '22,53,80,143,443,465,853,873,993,995,8080,8443,9418'
option mixed_port '5330'
option redirect_port '5331'
option tproxy_port '5332'
option dns_port '5333'
option china_dns_port '5334'
option tun_name 'singtun0'
option tun_addr4 '172.19.0.1/30'
option tun_addr6 'fdfe:dcba:9871::1/126'
option tun_mtu '9000'
option tun_gso '0'
option table_mark '100'
option self_mark '100'
option tproxy_mark '101'
option tun_mark '102'

config homeproxy 'config'
option main_node 'd23d54789413b0aa461d4ce962b730b6'
option main_udp_node 'same'
option dns_server '8.8.8.8'
option routing_mode 'bypass_mainland_china'
option routing_port 'common'
option proxy_mode 'tun'
option ipv6_support '1'
list china_dns_server '223.5.5.5'
list china_dns_server '119.29.29.29'

config homeproxy 'control'
option lan_proxy_mode 'disabled'
list wan_proxy_ipv4_ips '91.105.192.0/23'
list wan_proxy_ipv4_ips '91.108.4.0/22'
list wan_proxy_ipv4_ips '91.108.8.0/22'
list wan_proxy_ipv4_ips '91.108.16.0/22'
list wan_proxy_ipv4_ips '91.108.12.0/22'
list wan_proxy_ipv4_ips '91.108.20.0/22'
list wan_proxy_ipv4_ips '91.108.56.0/22'
list wan_proxy_ipv4_ips '149.154.160.0/20'
list wan_proxy_ipv4_ips '185.76.151.0/24'
list wan_proxy_ipv6_ips '2001:67c:4e8::/48'
list wan_proxy_ipv6_ips '2001:b28:f23c::/48'
list wan_proxy_ipv6_ips '2001:b28:f23d::/48'
list wan_proxy_ipv6_ips '2001:b28:f23f::/48'
list wan_proxy_ipv6_ips '2a0a:f280::/32'

config homeproxy 'routing'
option sniff_override '1'
option default_outbound 'direct-out'
option tun_gso '0'
option tcpip_stack 'system'
option udp_timeout '300'
option bypass_cn_traffic '0'

config homeproxy 'dns'
option dns_strategy 'prefer_ipv4'
option default_server 'default-dns'

config homeproxy 'subscription'
option auto_update '0'
option allow_insecure '0'
option packet_encoding 'xudp'
option update_via_proxy '0'
option filter_nodes 'blacklist'
list filter_keywords '重置|到期|过期|剩余|套餐'
list filter_keywords 'Expiration|Remaining'

config homeproxy 'server'
option enabled '0'
option auto_firewall '0'

config dns_rule 'nodes_domain'
option label 'NodesDomain'
option enabled '1'
option mode 'default'
list outbound 'any-out'
option server 'default-dns'

config node 'd23d54789433b0aa461d4ce962b739b7'
option label 'Misaka-Hysteria2'
option type 'hysteria2'
option address '149.135.67.55'
option port '6666'
option password '66669d20'
option tls '1'
option tls_sni 'www.bing.com'
option tls_insecure '1'

sing-box configuration

root@openwrt:/var# cat /var/run/homeproxy/sing-box-c.json
{
"log": {
"disabled": false,
"level": "warn",
"output": "/var/run/homeproxy/sing-box-c.log",
"timestamp": true
},
"dns": {
"servers": [
{
"tag": "default-dns",
"address": "202.96.128.166",
"detour": "direct-out"
},
{
"tag": "system-dns",
"address": "local",
"detour": "direct-out"
},
{
"tag": "block-dns",
"address": "rcode://name_error"
},
{
"tag": "main-dns",
"address": "tcp://8.8.8.8",
"detour": "main-out"
}
],
"disable_cache": false,
"disable_expire": false,
"independent_cache": false,
"final": "main-dns"
},
"inbounds": [
{
"type": "direct",
"tag": "dns-in",
"listen": "::",
"listen_port": 5333
},
{
"type": "mixed",
"tag": "mixed-in",
"listen": "::",
"listen_port": 5330,
"sniff": true,
"sniff_override_destination": true,
"set_system_proxy": false
},
{
"type": "tun",
"tag": "tun-in",
"interface_name": "singtun0",
"address": [
"172.19.0.1/30",
"fdfe:dcba:9876::1/126"
],
"mtu": 9000,
"gso": false,
"auto_route": false,
"stack": "system",
"sniff": true,
"sniff_override_destination": true
}
],
"outbounds": [
{
"type": "direct",
"tag": "direct-out"
},
{
"type": "block",
"tag": "block-out"
},
{
"type": "dns",
"tag": "dns-out"
},
{
"type": "hysteria2",
"tag": "main-out",
"server": "141.135.67.51",
"server_port": 6666,
"password": "66699d20",
"tls": {
"enabled": true,
"server_name": "www.bing.com",
"insecure": true
}
}
],
"route": {
"rules": [
{
"inbound": "dns-in",
"outbound": "dns-out"
}
],
"rule_set": [
],
"auto_detect_interface": true,
"final": "main-out"
}
}

HomeProxy log

No response

sing-box log

no log

OpenWrt/ImmortalWrt release

23.05.4 r28061-399f9a1db3

Device

QEMU QEMU Virtual Machine

Additional information

No response

Terms

  • I confirm that the HomeProxy I installed is from official source, like GitHub artifacts or official ImmortalWrt opkg feeds.
  • I confirm that the Homeproxy I installed does not contain Clash mode support.
  • I confirm that the version of OpenWrt/ImmortalWrt I installed is >= 23.05.
  • I confirm that I have installed the latest version of HomeProxy and sing-box.
  • I confirm that I have read the sing-box documentation, understand the meaning of all the configuration items I added.
  • I confirm that I have not mixed iptables and nftables rules.
  • I confirm that I have not modified system DNS settings, or enabled any other DNS servers like MosDNS and SmartDNS.
  • I confirm that I have selected all terms blindly.
@soapmancn soapmancn added the bug Something isn't working label Dec 10, 2024
@soapmancn
Copy link
Author

换成24.10固件也是这样,只装了homeproxy跟ddns-go插件,一段时间不访问外网,homeproxy就变成未运行了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant