Add Gateway connectivity diagnostics and traffic chart improvements
Build and Deploy Gateway / build-and-push (push) Successful in 14s
Build and Deploy Gateway / deploy (push) Successful in 13s

This commit is contained in:
2026-08-07 20:48:43 +03:00
parent e6666558b7
commit 12375006d3
18 changed files with 1133 additions and 206 deletions
+14
View File
@@ -27,7 +27,21 @@ test('gateway routes .ru domains directly and other traffic through the selected
});
assert.deepEqual(config.route.rule_set, []);
assert.deepEqual(config.inbounds.map((inbound) => inbound.tag), [
'tproxy-in',
'mixed-in',
'diagnostics-vpn-in',
]);
assert.deepEqual(config.inbounds[2], {
type: 'mixed',
tag: 'diagnostics-vpn-in',
listen: '127.0.0.1',
listen_port: 18080,
sniff: true,
set_system_proxy: false,
});
assert.deepEqual(config.route.rules, [
{ inbound: ['diagnostics-vpn-in'], outbound: 'test-vpn' },
{ domain_suffix: ['ru'], outbound: 'direct' },
{ inbound: ['tproxy-in'], outbound: 'test-vpn' },
{ inbound: ['mixed-in'], outbound: 'test-vpn' },