nps.conf 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. appname = nps
  2. #Web Management Port
  3. httpport = 8080
  4. #Boot mode(dev|pro)
  5. runmode = dev
  6. #Web Management Password
  7. password=123
  8. username=admin
  9. ##Communication Port between Client and Server
  10. ##If the data transfer mode is tcp, it is TCP port
  11. ##If the data transfer mode is kcp, it is UDP port
  12. bridgePort=8284
  13. #Web API unauthenticated IP address
  14. authKey=test
  15. ##web API get password
  16. cryptKey = "1234567812345678"
  17. ##HTTP proxy port, no startup if empty
  18. httpProxyPort=80
  19. ##HTTPS proxy port, no startup if empty
  20. httpsProxyPort=
  21. ##certFile absolute path
  22. pemPath=/etc/nginx/certificate.crt
  23. ##KeyFile absolute path
  24. keyPath=/etc/nginx/private.key
  25. ##Data transmission mode(kcp or tcp)
  26. bridgeType=tcp
  27. # Public password, which clients can use to connect to the server
  28. # After the connection, the server will be able to open relevant ports and parse related domain names according to its own configuration file.
  29. publicVkey=123
  30. #Traffic data persistence interval(minute)
  31. #Ignorance means no persistence
  32. #flowStoreInterval=1
  33. #log level
  34. #LevelEmergency->0 LevelAlert->1 LevelCritical->2 LevelError->3 LevelWarning->4
  35. #LevelNotice->5 LevelInformational->6 LevelDebug->7
  36. #logLevel=7
  37. #Whether to restrict IP access, true or false or ignore
  38. #ipLimit=true
  39. #must set when use p2p
  40. #serverIp=127.0.0.1
  41. #p2p udp port
  42. #p2pPort=6000