V2EX snipes 的所有回复 第 1 页 / 共 15 页
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX    snipes    全部回复第 1 页 / 共 15 页
回复总数  290
1  2  3  4  5  6  7  8  9  10 ... 15  
186 天前
回复了 snipes 创建的主题 Linux FRPS service 无法启动
@aru 嗯,这样是可以的,可能是 FRP 安装脚本的问题,用那个脚本装,/usr/bin/frps 就是一个软链接。谢了。
188 天前
回复了 snipes 创建的主题 Linux FRPS service 无法启动
@NessajCN
另外,我运行 file /usr/bin/frps
得到这个
/usr/bin/frps: symbolic link to /etc/init.d/frps
188 天前
回复了 snipes 创建的主题 Linux FRPS service 无法启动
@NessajCN

第一个命令
ls /usr/local/frps
enable enable.20250409-000000 frps frps.toml

第二个命令
cat /usr/local/frps/frps.toml

bindAddr = "0.0.0.0"
bindPort = 5443

# udp port used for kcp protocol, it can be same with 'bindPort'.
# if not set, kcp is disabled in frps.
kcpBindPort = 5443

# udp port used for quic protocol.
# if not set, quic is disabled in frps.
quicBindPort = 8443

# Specify which address proxy will listen for, default value is same with bindAddr
# proxyBindAddr = "127.0.0.1"

# quic protocol options
# transport.quic.keepalivePeriod = 10
# transport.quic.maxIdleTimeout = 30
# transport.quic.maxIncomingStreams = 100000

# Heartbeat configure, it's not recommended to modify the default value
# The default value of heartbeatTimeout is 90. Set negative value to disable it.
transport.heartbeatTimeout = 90

# Pool count in each proxy will keep no more than maxPoolCount.
transport.maxPoolCount = 5

# If tcp stream multiplexing is used, default is true
transport.tcpMux = true

# Specify keep alive interval for tcp mux.
# only valid if tcpMux is true.
# transport.tcpMuxKeepaliveInterval = 30

# tcpKeepalive specifies the interval between keep-alive probes for an active network connection between frpc and frps.
# If negative, keep-alive probes are disabled.
# transport.tcpKeepalive = 7200

# transport.tls.force specifies whether to only accept TLS-encrypted connections. By default, the value is false.
# transport.tls.force = false

# transport.tls.certFile = "server.crt"
# transport.tls.keyFile = "server.key"
# transport.tls.trustedCaFile = "ca.crt"

# If you want to support virtual host, you must set the http port for listening (optional)
# Note: http port and https port can be same with bindPort
vhostHTTPPort = 8080
vhostHTTPSPort = 8443

# Response header timeout(seconds) for vhost http server, default is 60s
# vhostHTTPTimeout = 60

# tcpmuxHTTPConnectPort specifies the port that the server listens for TCP
# HTTP CONNECT requests. If the value is 0, the server will not multiplex TCP
# requests on one single port. If it's not - it will listen on this value for
# HTTP CONNECT requests. By default, this value is 0.
# tcpmuxHTTPCOnnectPort= 1337

# If tcpmuxPassthrough is true, frps won't do any update on traffic.
# tcpmuxPassthrough = false

# Configure the web server to enable the dashboard for frps.
# dashboard is available only if webServerport is set.
webServer.addr = "0.0.0.0"
webServer.port = 6443
webServer.user = "admin"
webServer.password = "lokithor4123"
# webServer.tls.certFile = "server.crt"
# webServer.tls.keyFile = "server.key"
# dashboard assets directory(only for debug mode)
# webServer.assetsDir = "./static"

# Enable golang pprof handlers in dashboard listener.
# Dashboard port must be set first
# webServer.pprofEnable = false

# enablePrometheus will export prometheus metrics on webServer in /metrics api.
# enablePrometheus = true

# console or real logFile path like ./frps.log
log.to = "enable"
# trace, debug, info, warn, error
log.level = "info"
log.maxDays = 3
# disable log colors when log.to is console, default is false
# log.disablePrintColor = false

# DetailedErrorsToClient defines whether to send the specific error (with debug info) to frpc. By default, this value is true.
# detailedErrorsToClient = true

# auth.method specifies what authentication method to use authenticate frpc with frps.
# If "token" is specified - token will be read into login message.
# If "oidc" is specified - OIDC (Open ID Connect) token will be issued using OIDC settings. By default, this value is "token".
auth.method = "token"

# auth.additionalScopes specifies additional scopes to include authentication information.
# Optional values are HeartBeats, NewWorkConns.
# auth.additiOnalScopes= ["HeartBeats", "NewWorkConns"]

# auth token
auth.token = "6vMltzpz9E9ulEgi"

# userConnTimeout specifies the maximum time to wait for a work connection.
# userCOnnTimeout= 10

# Max ports can be used for each client, default value is 0 means no limit
# maxPortsPerClient = 0

# If subDomainHost is not empty, you can set subdomain when type is http or https in frpc's configure file
# When subdomain is test, the host used by routing is test.frps.com
subDomainHost = "20.198.220.105"

# custom 404 page for HTTP requests
# custom404Page = "/path/to/404.html"

# specify udp packet size, unit is byte. If not set, the default value is 1500.
# This parameter should be same between client and server.
# It affects the udp and sudp proxy.
# udpPacketSize = 1500

# Retention time for NAT hole punching strategy data.
# natholeAnalysisDataReserveHours = 168

# ssh tunnel gateway
# If you want to enable this feature, the bindPort parameter is required, while others are optional.
# By default, this feature is disabled. It will be enabled if bindPort is greater than 0.
# sshTunnelGateway.bindPort = 2200
# sshTunnelGateway.privateKeyFile = "/home/frp-user/.ssh/id_rsa"
# sshTunnelGateway.autoGenPrivateKeyPath = ""
# sshTunnelGateway.authorizedKeysFile = "/home/frp-user/.ssh/authorized_keys"
188 天前
回复了 snipes 创建的主题 Linux FRPS service 无法启动
@aru
运行完这个/usr/bin/frps -c /usr/local/frps/frps.toml ,系统直接用 vi 打开了 frps.toml 配置文件。
2019-04-26 11:45:46 +08:00
回复了 zhuwd 创建的主题 程序员 向 V 友们请教如何增强 sql 编写能力
多写。
土著有房无贷,够花就行。
否则的话,努力提高技术跳槽吧。
2019-04-09 18:50:29 +08:00
回复了 7173842 创建的主题 程序员 无业申请新加坡签证
我之前是裸辞的,写了个 letter 说了下为什么辞职还没找工作,澳洲旅游签证也过了。
2019-04-06 22:33:06 +08:00
回复了 KevZhi 创建的主题 全球工单系统 完美世界接工单, CSGO 国服炸了
dota2 天天炸
2019-04-03 17:11:26 +08:00
回复了 anypwx 创建的主题 程序员 产品经理的未来在哪里?
好好提高自己吧,焦虑并不能改变什么:(
打了淘宝客服电话,同样不给退款,说近期会恢复,但是又说不清什么时候恢复。
现在投诉都不知道找谁投诉,打杭州市消费者投诉热线有用吗?
2018-02-15 15:53:10 +08:00
回复了 trumpsb 创建的主题 程序员 文科生能学编程吗
想学就学。
2017-10-14 11:03:06 +08:00
回复了 yantianqi 创建的主题 程序员 git 冲突解决
Google Git merge conflict
啥意思? 换个连接字符串不就是可以插到另一个数据了?
能设置走 socks5 代理吗?
到哪个公司能新开一坑给你练级?还是带薪的?
2017-08-22 07:52:09 +08:00
回复了 jseanj 创建的主题 程序员 据说 iOS 找不到工作了,但我同事还是写了本书
封面设计差评。。。中文和英文竖向排版简直不能忍。。。
2017-08-17 07:46:26 +08:00
回复了 DoctorCat 创建的主题 程序员 Python 老人写 Java 代码,想吐,怎么治?
打开网银,看看余额就治好了。
1  2  3  4  5  6  7  8  9  10 ... 15  
关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     3198 人在线   最高记录 6679       Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 35ms UTC 00:32 PVG 08:32 LAX 17:32 JFK 20:32
Do have faith in what you're doing.
ubao snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86