2019-02-03 09:25:00 +00:00
|
|
|
appname = nps
|
2019-02-09 09:07:47 +00:00
|
|
|
#Boot mode(dev|pro)
|
2019-04-08 09:01:08 +00:00
|
|
|
runmode = dev
|
2019-03-05 01:23:18 +00:00
|
|
|
|
|
|
|
#HTTP(S) proxy port, no startup if empty
|
2019-04-01 15:54:03 +00:00
|
|
|
http_proxy_ip=0.0.0.0
|
2019-03-05 01:23:18 +00:00
|
|
|
http_proxy_port=80
|
2019-03-23 14:19:59 +00:00
|
|
|
https_proxy_port=443
|
2019-03-19 14:41:40 +00:00
|
|
|
https_just_proxy=true
|
2019-04-01 15:54:03 +00:00
|
|
|
#default https certificate setting
|
|
|
|
https_default_cert_file=conf/server.pem
|
|
|
|
https_default_key_file=conf/server.key
|
2019-03-05 01:23:18 +00:00
|
|
|
|
|
|
|
##bridge
|
|
|
|
bridge_type=tcp
|
|
|
|
bridge_port=8024
|
|
|
|
bridge_ip=0.0.0.0
|
2019-02-12 19:54:00 +00:00
|
|
|
|
|
|
|
# Public password, which clients can use to connect to the server
|
|
|
|
# After the connection, the server will be able to open relevant ports and parse related domain names according to its own configuration file.
|
2019-03-05 01:23:18 +00:00
|
|
|
public_vkey=123
|
2019-02-12 19:54:00 +00:00
|
|
|
|
2019-02-23 15:29:48 +00:00
|
|
|
#Traffic data persistence interval(minute)
|
|
|
|
#Ignorance means no persistence
|
2019-03-05 01:23:18 +00:00
|
|
|
#flow_store_interval=1
|
2019-02-23 15:29:48 +00:00
|
|
|
|
2019-03-05 01:23:18 +00:00
|
|
|
# log level LevelEmergency->0 LevelAlert->1 LevelCritical->2 LevelError->3 LevelWarning->4 LevelNotice->5 LevelInformational->6 LevelDebug->7
|
2019-03-15 06:03:49 +00:00
|
|
|
log_level=7
|
2019-12-14 04:25:24 +00:00
|
|
|
#log_path=nps.log
|
2019-02-24 05:17:43 +00:00
|
|
|
|
|
|
|
#Whether to restrict IP access, true or false or ignore
|
2019-03-05 01:23:18 +00:00
|
|
|
#ip_limit=true
|
2019-02-24 05:17:43 +00:00
|
|
|
|
2019-03-05 01:23:18 +00:00
|
|
|
#p2p
|
2019-04-11 21:43:03 +00:00
|
|
|
#p2p_ip=127.0.0.1
|
|
|
|
#p2p_port=6000
|
2019-03-01 09:23:14 +00:00
|
|
|
|
2019-03-05 01:23:18 +00:00
|
|
|
#web
|
2019-03-15 06:03:49 +00:00
|
|
|
web_host=a.o.com
|
2019-03-05 01:23:18 +00:00
|
|
|
web_username=admin
|
|
|
|
web_password=123
|
|
|
|
web_port = 8080
|
|
|
|
web_ip=0.0.0.0
|
2019-05-10 16:29:55 +00:00
|
|
|
web_base_url=
|
|
|
|
# if web under proxy use sub path. like http://host/nps need this.
|
|
|
|
#web_base_url=/nps
|
2019-03-23 14:19:59 +00:00
|
|
|
|
|
|
|
#Web API unauthenticated IP address(the len of auth_crypt_key must be 16)
|
2019-03-07 10:07:53 +00:00
|
|
|
auth_key=test
|
|
|
|
auth_crypt_key =1234567812345678
|
2019-03-01 09:23:14 +00:00
|
|
|
|
2019-03-15 06:03:49 +00:00
|
|
|
#allow_ports=9001-9009,10001,11000-12000
|
2019-03-26 03:13:07 +00:00
|
|
|
|
2019-03-26 07:23:39 +00:00
|
|
|
#Web management multi-user login
|
2019-04-08 09:01:08 +00:00
|
|
|
allow_user_login=false
|
|
|
|
allow_user_register=false
|
|
|
|
allow_user_change_username=false
|
|
|
|
|
2019-04-04 09:46:06 +00:00
|
|
|
|
|
|
|
#extension
|
|
|
|
allow_flow_limit=false
|
|
|
|
allow_rate_limit=false
|
2019-04-08 09:01:08 +00:00
|
|
|
allow_tunnel_num_limit=false
|
|
|
|
allow_local_proxy=false
|
2019-04-04 09:46:06 +00:00
|
|
|
allow_connection_num_limit=false
|
|
|
|
allow_multi_ip=false
|
2019-04-08 09:01:08 +00:00
|
|
|
system_info_display=false
|
|
|
|
|
|
|
|
#cache
|
2019-04-08 10:02:54 +00:00
|
|
|
http_cache=false
|
2019-04-08 09:01:08 +00:00
|
|
|
http_cache_length=100
|
2019-04-04 09:46:06 +00:00
|
|
|
|
|
|
|
|