feat: ACL

This commit is contained in:
Toby
2023-08-14 19:00:56 -07:00
parent 6fa958815b
commit a7d74a9ec1
12 changed files with 380 additions and 61 deletions

View File

@@ -95,6 +95,13 @@ func TestServerConfig(t *testing.T) {
Insecure: true,
},
},
ACL: serverConfigACL{
File: "chnroute.txt",
Inline: []string{
"lmao(ok)",
"kek(cringe,boba,tea)",
},
},
Outbounds: []serverConfigOutboundEntry{
{
Name: "goodstuff",