LinuxCommandLibrary

frp

fast reverse proxy for NAT traversal

TLDR

Start frp client
$ frpc -c [frpc.ini]
copy
Start frp server
$ frps -c [frps.ini]
copy
Verify configuration
$ frpc verify -c [frpc.ini]
copy
Reload client config
$ frpc reload -c [frpc.ini]
copy

SYNOPSIS

frpc | frps [options]

DESCRIPTION

frp (fast reverse proxy) exposes local servers behind NAT or firewalls to the internet. It consists of a client (frpc) on the internal network and server (frps) on the public server.
The tool supports TCP, UDP, HTTP, and HTTPS protocols with features like encryption, compression, and authentication. It enables accessing internal services, SSH tunnels, and web applications remotely.
frp provides a self-hosted alternative to services like ngrok.

PARAMETERS

-c FILE

Configuration file path.
verify
Verify configuration syntax.
reload
Reload configuration.
--help
Display help information.

CONFIGURATION

frpc.ini

Client configuration file defining server connection, authentication token, and proxy definitions for services to expose.
frps.ini
Server configuration file specifying bind ports, dashboard settings, authentication tokens, and connection limits.

CAVEATS

Requires public server. Configuration needed for each service. Security depends on proper setup.

HISTORY

frp was created as an open source alternative to commercial reverse proxy services. Written in Go, it provides self-hosted tunneling for developers and system administrators.

SEE ALSO

frpc(1), frps(1), ngrok(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard