nps.conf 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. appname = nps
  2. #Boot mode(dev|pro)
  3. runmode = pro
  4. #HTTP(S) proxy port, no startup if empty
  5. http_proxy_port=80
  6. https_proxy_port=443
  7. https_just_proxy=true
  8. #certFile absolute path
  9. #pem_path=conf/server.pem
  10. #KeyFile absolute path
  11. #key_path=conf/server.key
  12. ##bridge
  13. bridge_type=tcp
  14. bridge_port=8024
  15. bridge_ip=0.0.0.0
  16. # Public password, which clients can use to connect to the server
  17. # After the connection, the server will be able to open relevant ports and parse related domain names according to its own configuration file.
  18. public_vkey=123
  19. #Traffic data persistence interval(minute)
  20. #Ignorance means no persistence
  21. #flow_store_interval=1
  22. # log level LevelEmergency->0 LevelAlert->1 LevelCritical->2 LevelError->3 LevelWarning->4 LevelNotice->5 LevelInformational->6 LevelDebug->7
  23. log_level=7
  24. #Whether to restrict IP access, true or false or ignore
  25. #ip_limit=true
  26. #p2p
  27. #p2p_ip=127.0.0.1
  28. #p2p_port=6000
  29. #web
  30. web_host=a.o.com
  31. web_username=admin
  32. web_password=123
  33. web_port = 8080
  34. web_ip=0.0.0.0
  35. #Web API unauthenticated IP address(the len of auth_crypt_key must be 16)
  36. auth_key=test
  37. auth_crypt_key =1234567812345678
  38. #allow_ports=9001-9009,10001,11000-12000
  39. #Web management multi-user login
  40. #allow_user_login=true