Skip to content

Install/config/uninstall frps/frpc as instance service

License

Notifications You must be signed in to change notification settings

sseaky/frp-onekey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About

Frp一键配置脚本,修改自 clangcn ,frp版本 0.34.2

  • frp服务端、客户端一键安装,配置、删除
  • 支持systemd或rc管理服务
  • 支持多实例服务,默认实例名为main
  • 在ubuntu/debian上测试

Usage

Install

sudo bash -c "bash <(wget -qO - https://github.com/sseaky/frp-onekey/raw/main/frp_onekey.sh)"

or

wget https://github.com/sseaky/frp-onekey/raw/main/frp_onekey.sh
sudo bash frp_onekey.sh -a install -c {frps|frpc} [-i <instance>]

如果wget碰到

Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.228.133|:443... failed: Connection refused.

尝试以下方法:

Reconfig

sudo bash frp_onekey.sh config {frps|frpc}@<instance>

or

Modify the config file in /etc/frp/ and restart service manually.

Uninstall

sudo bash frp_onekey.sh -a uninstall

Shortcut

sudo frps@<instance> {start|stop|restart|status}
sudo frpc@<instance> {start|stop|restart|status|reload}

Example

frps

frps

frpc

frpc

About

Install/config/uninstall frps/frpc as instance service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages