跳到正文

frp

热门趋势维护中
fatedier/frp

高性能反向代理工具,帮助你将位于 NAT 或防火墙之后的本地服务暴露到公网。

在 GitHub 查看
星标
10.8万
Fork
1.5万
关注
10.8万
未关闭 Issue
49

该介绍目前仅提供英文版本。

frp: Fast Reverse Proxy

frp is a powerful tunneling tool that allows you to expose servers from a local network to the public internet. As a popular tool in the Cloudflare ecosystem, it has garnered over 73,000 GitHub stars.

Core Features

  • Multiple Protocol Support: TCP, UDP, HTTP, HTTPS, and more
  • Flexible Deployment: Client-server architecture for easy setup
  • Security Options: TLS encryption, various authentication methods, and access control
  • Port Multiplexing: Share a single port across multiple services
  • P2P Mode: Direct connections between clients for improved performance
  • Web Interface: Monitor and manage proxies through a web dashboard
  • Plugin System: Extend functionality through custom plugins

Common Use Cases

  • Exposing local development servers for testing or demonstrations
  • Accessing home network services from anywhere
  • Providing public internet access to IoT devices
  • Creating secure tunnels for remote access to internal resources
  • Building hybrid network architectures across multiple environments

Quick Start

frp consists of two components:

  • frps (server): Deployed on a machine with a public IP address
  • frpc (client): Run on the local machine hosting the services you want to expose

Basic configuration example to expose a local web server:

# frps.toml (server)
bindPort = 7000
vhostHTTPPort = 80

# frpc.toml (client)
serverAddr = "your-frps-server-ip"
serverPort = 7000

[[proxies]]
name = "web"
type = "http"
localPort = 8080
customDomains = ["your-domain.com"]

按共同分类和标签排序的同类开源项目。

全部网络项目 →