2018-06-20 00:11:41 +08:00
|
|
|
<?php
|
|
|
|
|
2020-09-13 00:52:49 +08:00
|
|
|
$config = [
|
|
|
|
"auth" => [
|
|
|
|
METHOD_NO_AUTH => true,
|
|
|
|
METHOD_USER_PASS => function ($request) {
|
|
|
|
return $request['user'] == 'user' && $request['pass'] == 'pass';
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"log_level" => LOG_DEBUG,
|
2024-12-15 11:21:10 +08:00
|
|
|
"tcp_port" => 20501,
|
2020-09-13 00:52:49 +08:00
|
|
|
"udp_port" => 0,
|
2024-12-15 11:21:10 +08:00
|
|
|
"wanIP" => '10.88.0.4',
|
2020-09-13 00:52:49 +08:00
|
|
|
];
|