Closed 2fact closed 5 months ago
Enabled GSO for Tun mode in "Routing setting" -> "Generic segmentation offload". But it's not effective. In /var/run/homeproxy/sing-box-c.json:
/var/run/homeproxy/sing-box-c.json
"inbounds": [ { "type": "tun", "tag": "tun-in", "interface_name": "singtun0", "inet4_address": "172.19.0.1/30", "inet6_address": "fdfe:dcba:9876::1/126", "mtu": 9000, "gso": false, "auto_route": false, "stack": "system", "sniff": true, "sniff_override_destination": true }
Appears the code in generate_client.uc it's looking for config in infra section:
generate_client.uc
infra
tun_gso = uci.get(uciconfig, uciinfra, 'tun_gso') || '0';
But the config is actually in routing section in /etc/config/homeproxy:
routing
/etc/config/homeproxy
config homeproxy 'routing' option sniff_override '1' option default_outbound '...' option bypass_cn_traffic '1' option tun_gso '1' option tcpip_stack 'system'
Fixed in dev branch
Enabled GSO for Tun mode in "Routing setting" -> "Generic segmentation offload". But it's not effective. In
/var/run/homeproxy/sing-box-c.json
:Appears the code in
generate_client.uc
it's looking for config ininfra
section:But the config is actually in
routing
section in/etc/config/homeproxy
: