123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164 |
- bindAddr = "0.0.0.0"
- bindPort = 7000
- kcpBindPort = 7000
- transport.maxPoolCount = 5
- transport.tls.force = false
- vhostHTTPPort = 80
- vhostHTTPSPort = 443
- webServer.addr = "127.0.0.1"
- webServer.port = 7500
- webServer.user = "admin"
- webServer.password = "admin"
- webServer.pprofEnable = false
- enablePrometheus = true
- log.to = "./frps.log"
- log.level = "info"
- log.maxDays = 3
- log.disablePrintColor = false
- detailedErrorsToClient = true
- auth.method = "token"
- auth.token = "12345678"
- auth.oidc.issuer = ""
- auth.oidc.audience = ""
- auth.oidc.skipExpiryCheck = false
- auth.oidc.skipIssuerCheck = false
- allowPorts = [
- { start = 2000, end = 3000 },
- { single = 3001 },
- { single = 3003 },
- { start = 4000, end = 50000 }
- ]
- maxPortsPerClient = 0
- subDomainHost = "frps.com"
- udpPacketSize = 1500
- natholeAnalysisDataReserveHours = 168
- [[httpPlugins]]
- name = "user-manager"
- addr = "127.0.0.1:9000"
- path = "/handler"
- ops = ["Login"]
- [[httpPlugins]]
- name = "port-manager"
- addr = "127.0.0.1:9001"
- path = "/handler"
- ops = ["NewProxy"]
|