mvscode / frps-onekey Goto Github PK
View Code? Open in Web Editor NEWFrps 一键安装脚本&管理脚本
License: GNU General Public License v3.0
Frps 一键安装脚本&管理脚本
License: GNU General Public License v3.0
如果能利用github的api给脚本加个自动判断最新版本号就好了。
能否自定义版本,路由器上的版本只有2.7,服务器用2.8启动不了
最好能添加个一键升级脚本
感谢
rt
Your select: aliyun
Loading network version for frps, please wait...
frps Latest release file frp_0.37.1_linux_amd64.tar.gz
Loading You Server IP, please wait...
日志一直这样卡着不动有什么解决办法吗 阿里云 CentOS 8.2
树莓派安装了linux 64位的系统,一直启动不了,后来才发现。。自动下载的不匹配。。能否适配下~~
阿里云和github都试过,也试过加上代理和不加代理,都失败。
centos6.5
只能设置一个token吗?
是否实现每个不同用户使用不同的token连接吗?
是否可以增加sign?
fatedier/frp#176
按照源址说的只需要把frps.service复制一份到/etc/systemd/system目录下即可。
可是一键脚本安装下来的frps.service这个文件在哪里啊,没找到啊
确定TCP多路复用是一致的,就是启动不了
求助:
“Please input frps max_pool_count [1-200]”
如何设置到不限制呢
安装完后启动 frps 失败,日志没看到相关报错信息
Tencent Cloud 2核4G
CentOS Linux release 8.2.2004 (Core)
2021/06/14 19:46:08 [I] [root.go:200] frps uses config file: /usr/local/frps/frps.ini
2021/06/14 19:46:08 [I] [service.go:192] frps tcp listen on 0.0.0.0:5443
2021/06/14 19:46:08 [I] [service.go:202] frps kcp listen on udp 0.0.0.0:5443
dashboard_user、dashboard_pwd、token 在 issues 被我替换成 XXXXXX
subdomain_host 在 issues 被我替换成 domain.com
# [common] is integral section
[common]
# A literal address or host name for IPv6 must be enclosed
# in square brackets, as in "[::1]:80", "[ipv6-host]:http" or "[ipv6-host%zone]:80"
bind_addr = 0.0.0.0
bind_port = 5443
# udp port used for kcp protocol, it can be same with 'bind_port'
# if not set, kcp is disabled in frps
kcp_bind_port = 5443
# if you want to configure or reload frps by dashboard, dashboard_port must be set
dashboard_port = 6443
# dashboard assets directory(only for debug mode)
dashboard_user = XXXXXX
dashboard_pwd = XXXXXX
# assets_dir = ./static
vhost_http_port = 80
vhost_https_port = 443
# console or real logFile path like ./frps.log
log_file = ./frps.log
# debug, info, warn, error
log_level = debug
log_max_days = 3
# auth token
token = XXX
# It is convenient to use subdomain configure for http、https type when many people use one frps server together.
subdomain_host = domain.com
# only allow frpc to bind ports you list, if you set nothing, there won't be any limit
#allow_ports = 1-65535
# pool_count in each proxy will change to max_pool_count if they exceed the maximum value
max_pool_count = 50
# if tcp stream multiplexing is used, default is true
tcp_mux = true
劳驾也一起搞一个配套的FRPC的一键搭建配置吧。谢谢!o(∩_∩)o
Press any key to start...or Press Ctrl+c to cancel
frps install path:/usr/local/frps
config file for frps ... done
download frps ... failed
还请更新下,谢谢!
Starting Frps(0.29.1)...start failed 在谷歌云debian9 启动失败
使用openwrt上的软件frpc配置客户端,配置完成后面板显示在线,但是无法打开网站,提示
The page you requested was not found.
Sorry, the page you are looking for is currently unavailable.
Please try again later.
The server is powered by frp.
Faithfully yours, frp.
面板
Nameadmin.lede
Typehttp
Domains[ "frp-lede.xxx.vip" ]
SubDomain
locations[ "" ]
HostRewrite
Encryption true
Compression true
Last Start07-08 23:40:12
Last Close
Starting Frps(0.34.3)...start failed
使用一键安装脚本之后,frps start 会报上面的错误
并且看 log 日志里面没啥异常,日志如下:
2020/12/19 17:07:28 [I] [service.go:190] frps tcp listen on 0.0.0.0:5443
2020/12/19 17:07:28 [I] [service.go:199] frps kcp listen on udp 0.0.0.0:5443
2020/12/19 17:07:42 [I] [service.go:190] frps tcp listen on 0.0.0.0:5443
2020/12/19 17:07:42 [I] [service.go:199] frps kcp listen on udp 0.0.0.0:5443
2020/12/19 17:08:38 [I] [service.go:190] frps tcp listen on 0.0.0.0:5443
2020/12/19 17:08:38 [I] [service.go:199] frps kcp listen on udp 0.0.0.0:5443
2020/12/19 17:11:52 [I] [service.go:190] frps tcp listen on 0.0.0.0:5443
2020/12/19 17:11:52 [I] [service.go:199] frps kcp listen on udp 0.0.0.0:5443
2020/12/19 17:13:42 [I] [service.go:190] frps tcp listen on 0.0.0.0:5443
2020/12/19 17:13:42 [I] [service.go:199] frps kcp listen on udp 0.0.0.0:5443
2020/12/19 17:15:51 [I] [service.go:190] frps tcp listen on 0.0.0.0:5443
2020/12/19 17:15:51 [I] [service.go:199] frps kcp listen on udp 0.0.0.0:5443
2020/12/19 17:16:54 [I] [service.go:190] frps tcp listen on 0.0.0.0:5443
2020/12/19 17:16:54 [I] [service.go:199] frps kcp listen on udp 0.0.0.0:5443
请问安装完后,ini文件在哪个目录?
我服务端已安装到了公网的服务器上了,在你的readme上没有看到内网客户端的安装脚本说明。刚接触frp,麻烦回复下
我的服务器版本是v0.30.0,群辉docker装那个版本好用,谢谢
Press any key to start...or Press Ctrl+c to cancel
frps install path:/usr/local/frps
config file for frps ... done
download frps ... failed
在安装过程中,如果将log_file功能选择为disable,会导致系统/dev/null: Permission Denied,即便使用chmod 600 /dev/null修复后,也会间歇性导致/dev/null: Permission Denied,以至于很多系统服务无法正常工作。
/etc/init.d/frps: line 45: [: 10472: binary operator expected
Starting Frps(0.33.0).../etc/init.d/frps: line 45: [: 10472: binary operator expected
start failed
麻烦问下,这是什么报错
1.使用第一个脚本(Github),选择阿里云安装frp会提示下载失败。
2.使用第二个脚本(阿里云),选择阿里云安装frp不是最新版本。
我想问两个问题
第一个,我在内网linux系统上配置好frps以后,我用内网IP不能查看frps的仪表盘吗?
第二个,我在服务器上配置好以后,会出现配置信息,然后我把SSH工具关闭以后,我再连接服务器,如何再次查看配置信息。
例如下的配置信息。
哪位知道的请告诉一下。谢谢。
使用默认的github网速太慢总是下不下来,使用阿里云下载版本却是27.0。请问一下有没有更好的解决方案。万分感谢~
安装方式与CentOS一致,
服务器端防火墙已开启,其余端口例如993/tcp 995/tcp 等均可开启,就是25端口不行
日志如下
2021/03/18 21:33:25 [I] [service.go:288] [b11cc3ffc962de84] login to server success, get run id [b11cc3ffc962de84], server udp port [0]
2021/03/18 21:33:25 [I] [proxy_manager.go:144] [b11cc3ffc962de84] proxy added: [DSM SMTP Buildiffuse-443 www-443 Mail-443 DSM-443 Mail Buildiffuse www]
2021/03/18 21:33:25 [I] [control.go:180] [b11cc3ffc962de84] [DSM] start proxy success
2021/03/18 21:33:25 [W] [control.go:178] [b11cc3ffc962de84] [SMTP] start error: port unavailable
2021/03/18 21:33:25 [I] [control.go:180] [b11cc3ffc962de84] [Buildiffuse-443] start proxy success
2021/03/18 21:33:25 [I] [control.go:180] [b11cc3ffc962de84] [www-443] start proxy success
2021/03/18 21:33:25 [I] [control.go:180] [b11cc3ffc962de84] [Mail-443] start proxy success
2021/03/18 21:33:25 [I] [control.go:180] [b11cc3ffc962de84] [DSM-443] start proxy success
2021/03/18 21:33:25 [I] [control.go:180] [b11cc3ffc962de84] [Mail] start proxy success
2021/03/18 21:33:25 [I] [control.go:180] [b11cc3ffc962de84] [Buildiffuse] start proxy success
2021/03/18 21:33:25 [I] [control.go:180] [b11cc3ffc962de84] [www] start proxy success
2021/03/18 21:33:59 [W] [control.go:178] [b11cc3ffc962de84] [SMTP] start error: port unavailable
一键代码(github源无法下载),显示下载失败。能否麻烦帮忙处理一下
版本: 3.2.1
下载是最新的github上的安装脚本,配置完成,开始下载frps的时候,会出现下载失败的提示消息。
阿里云,github还有一个gitee都试过了,都会出现这个错误。
版本号后面多了个空格导致拼下载链接错误
你好,还没更新到0.37.1
frps dashboard的网页在服务器的什么位置啊
Frp最新版本:0.31.2
./install-frps.sh update 升级不上去 始终是0.31.0
kcp端口与tcp 端口重合时,无法使用kcp。
当两个端口分开时,使用正常。
客户端是0.20.0,服务端时0.27.0,不知道是不是客户端版本太低的缘故。
显示:Loading You Server IP, please wait...
nginx代理frp管理界面的问题,不知道是不是我Nginx配置的问题,代理之后进去页面全是空的
upstream frp_server {
server 127.0.0.1:6443;
}
location ~ "^/frp(/?.*)" {
proxy_pass http://frp_server$1$is_args$args;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
查看log文件,显示只运行到tcp和kcp绑定端口(我设置的是7000)
/etc/init.d/frps: 第 45 行:[: 缺少 ]' Starting Frps(0.33.0).../etc/init.d/frps: 第 45 行:[: 缺少
]'
start failed
0.33最新版本,stop脚本不管用,,,造成无法重启,,必须kill后才能start
root@ubuntu:~# /etc/init.d/frps stop
+---------------------------------------------------------+
| Manager for Frps, Author Clang, Mender MvsCode |
+---------------------------------------------------------+
Frps is not running.
root@ubuntu:# ps -aux | grep frps#
root 45423 0.0 1.1 715808 11356 pts/0 Sl 09:15 0:02 /usr/local/frps/frps -c /usr/local/frps/frps.ini
root 57188 0.0 0.1 13144 1116 pts/0 S+ 12:01 0:00 grep --color=auto frps
root@ubuntu:
Your select: 2
frps local version 0.36.1
frps remote version 0.36.1
no need to update !!!
Press any key to start...or Press Ctrl+c to cancel
frps install path:/usr/local/frps
config file for frps ... done
download frps ...
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
mv: cannot stat 'frp_0.32.0_linux_amd64/frps': No such file or directory
failed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.