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,
|
|
|
|
"tcp_port" => 1080,
|
|
|
|
"udp_port" => 0,
|
|
|
|
"wanIP" => '192.168.1.1',
|
|
|
|
];
|