laylink/config/policies.php
2026-05-28 20:19:28 +08:00

23 lines
568 B
PHP

<?php
return [
[
'policy_id' => 'public-web-egress',
'users' => ['normal-user', 'admin', 'devops'],
'target_hosts' => ['*'],
'target_ports' => [80, 443],
'protocol' => 'tcp',
'route_type' => 'direct',
'enabled' => true,
],
[
'policy_id' => 'public-udp-egress',
'users' => ['normal-user', 'admin', 'devops'],
'target_hosts' => ['*'],
'target_ports' => [53, 123, 443],
'protocol' => 'udp',
'route_type' => 'direct',
'enabled' => true,
],
];