Linux

Where Does FRP Store Config Files?

FRP reads frps.ini or frpc.ini from its working dir or /etc/frp. Systemd units live in /lib/systemd/system.

Last updated

FRP splits into server and client binaries with matching INI files. frps.ini configures the public exit, frpc.ini declares what to expose. Both default to the working directory or /etc/frp depending on install.

Keep tokens out of chat logs when asking for help. The auth token in these files grants tunnel access to anyone holding it. Copy the files whole for migration, then rotate secrets.

Where FRP stores this, by platform

Linux
/etc/frp/frps.ini + frpc.ini

Server and client configs plus tokens. Package installs use /etc/frp, manual runs use the working dir. Back up both files.

Frequently asked questions

How do I migrate FRP to a new server?

Copy frps.ini or frpc.ini plus any token and TLS files they reference. The dashboard password and auth tokens live in those INI files, so treat them as secrets.

frps versus frpc: which goes where?

frps is the server exit node, frpc runs beside the service you expose. Each reads its own INI. Mixing them up is the classic first-run error.

How do I see active FRP tunnels?

Enable the dashboard section in frps.ini and open port 7500. It shows active proxies and traffic without touching the config again.

Notice an outdated path? Let us know.