nps.conf 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. http_proxy_ip=0.0.0.0
  9. ##bridge
  10. bridge_type=tcp
  11. bridge_port=8024
  12. bridge_ip=0.0.0.0
  13. # Public password, which clients can use to connect to the server
  14. # After the connection, the server will be able to open relevant ports and parse related domain names according to its own configuration file.
  15. public_vkey=123
  16. #Traffic data persistence interval(minute)
  17. #Ignorance means no persistence
  18. #flow_store_interval=1
  19. # log level LevelEmergency->0 LevelAlert->1 LevelCritical->2 LevelError->3 LevelWarning->4 LevelNotice->5 LevelInformational->6 LevelDebug->7
  20. log_level=7
  21. #Whether to restrict IP access, true or false or ignore
  22. #ip_limit=true
  23. #p2p
  24. #p2p_ip=127.0.0.1
  25. #p2p_port=6000
  26. #web
  27. web_host=a.o.com
  28. web_username=admin
  29. web_password=123
  30. web_port = 8080
  31. web_ip=0.0.0.0
  32. #Web API unauthenticated IP address(the len of auth_crypt_key must be 16)
  33. auth_key=test
  34. auth_crypt_key =1234567812345678
  35. #allow_ports=9001-9009,10001,11000-12000
  36. #Web management multi-user login
  37. #allow_user_login=true