nps.conf 1.1 KB

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