App Store template
frp icon

frp

A fast reverse proxy that exposes services behind NAT or firewalls through a self-hosted frps server.

Launch in your Sealos workspace.

frp template preview
Template previewFull screenshot
Template deployments
15 on Sealos
Deployment
Your own instance
Category
Tools

About this template

Overview

frp is a fast reverse proxy that publishes services from private networks through a public server. This template deploys the official frps v0.70.0 image with token authentication, a protected monitoring dashboard, HTTP virtual-host routing, and a dedicated TCP proxy port.

From the documentation

frp uses a client-server architecture. frps runs on Sealos with public connectivity, and frpc runs beside the private service. The client opens an authenticated outbound connection to the server, then frps forwards public traffic through that connection.

How to deploy frp

  1. Choose Deploy now to start frp in your Sealos workspace.
  2. Review dashboard_username, dashboard_password, frp_auth_token in the deployment form.
  3. Launch the template, then inspect the application status and resource cards in Canvas.

Resources to plan for

Start with the resources defined by the frp template. Review CPU, memory, persistent storage, and network allocations for every service in Canvas. Capacity needs depend on your data and workload; monitor usage as they grow.

Template configuration and setup

Access after deployment

Use the application URL or connection details shown in Canvas. Follow the deployment guide for first-time account setup or client configuration, and keep generated credentials available for that step.

Hosting and billing

Sealos monthly plans include compute, memory, storage, and traffic. Size your plan for all deployed services. Software licenses and external AI or API services may have separate terms and charges. Confirm the applicable plan and optional charges in Cost Center.

Compare Sealos resource plans
Read full documentationCollapse documentation

For current cloud charges, refer to Sealos plan pricing. Upstream documentation may reference earlier billing models.

Deploy frp on Sealos

frp is a fast reverse proxy that publishes services from private networks through a public server. This template deploys the official frps v0.70.0 image with token authentication, a protected monitoring dashboard, HTTP virtual-host routing, and a dedicated TCP proxy port.

frp Screenshot

About frp

frp uses a client-server architecture. frps runs on Sealos with public connectivity, and frpc runs beside the private service. The client opens an authenticated outbound connection to the server, then frps forwards public traffic through that connection.

Common uses include:

  • Publishing a development web server from a laptop or private network.
  • Reaching SSH, databases, or device services through a controlled TCP port.
  • Routing multiple HTTP services by hostname.
  • Monitoring connected clients, proxies, and traffic from the frps dashboard.

The frps dashboard is a monitoring interface. Proxy definitions remain in each frpc configuration.

Why Deploy frp on Sealos?

  • Run the official frps container behind Sealos networking and HTTPS.
  • Use separate public surfaces for the dashboard, HTTP virtual hosts, and TCP data plane.
  • Protect frpc connections with a required shared token.
  • Start at the lowest Sealos compute tier verified by a real end-to-end TCP proxy test.

Deployment Guide

  1. Open the frp template and click Deploy Now.
  2. Enter all required values:
    • dashboard_username: username for dashboard Basic Authentication.
    • dashboard_password: password for dashboard Basic Authentication.
    • frp_auth_token: shared token used by every frpc client.
  3. Deploy the template and wait for the frps workload and initialization job to complete.
  4. Open the generated application URL and sign in with dashboard_username and dashboard_password.

Use long, unique values for the dashboard password and frp token. Store both values in a password manager.

Public Endpoints

The deployment exposes four logical endpoints:

EndpointPurpose
Dashboard HTTPS URLfrps status, clients, proxies, and traffic
HTTP HTTPS URLPublic entry for HTTP proxies using customDomains
server public TCP portfrpc control connection to frps port 7000
tcp-proxy public TCP portReserved remote port for one TCP proxy

Open the frp resource details in Sealos to find the public host and NodePort values for server and tcp-proxy.

Connect an frpc Client

Download frpc v0.70.0 for the client machine from the frp releases page.

Publish a TCP Service

Create frpc.toml:

serverAddr = "<your-public-sealos-host>"
serverPort = <server-public-port>

auth.method = "token"
auth.token = "<your-frp-auth-token>"

[[proxies]]
name = "private-service"
type = "tcp"
localIP = "127.0.0.1"
localPort = 8080
remotePort = <tcp-proxy-public-port>

Start the client:

./frpc -c ./frpc.toml

External users can now connect to <your-public-sealos-host>:<tcp-proxy-public-port>. The dashboard shows the online client and proxy after the connection is established.

Publish an HTTP Service

Use the generated HTTP endpoint hostname as customDomains:

serverAddr = "<your-public-sealos-host>"
serverPort = <server-public-port>

auth.method = "token"
auth.token = "<your-frp-auth-token>"

[[proxies]]
name = "web"
type = "http"
localIP = "127.0.0.1"
localPort = 8080
customDomains = ["<your-http-endpoint-host>"]

Open https://<your-http-endpoint-host> after frpc reports that the proxy started successfully.

Resource Baseline

The frps workload uses 100m CPU and 128 MiB memory limits, with 10m CPU and 12 MiB requests. A live v0.70.0 test connected an official frpc client, forwarded an external TCP request, verified byte-for-byte response integrity, and kept the pod at zero restarts. Increase resources for many concurrent tunnels or high traffic volume.

Security Notes

  • Rotate frp_auth_token and restart frpc clients after any credential exposure.
  • Keep dashboard credentials separate from the frp client token.
  • Restrict the private service itself when it exposes sensitive protocols such as SSH or databases.
  • Use frp transport encryption and TLS options for clients that cross untrusted networks.

Troubleshooting

frpc cannot connect

Confirm the public server port in Sealos, the serverAddr hostname, and the shared token. The client and server versions should use the same v0.70.0 release.

A TCP proxy stays offline

Set remotePort to the public tcp-proxy port shown by Sealos and confirm the local service is listening on localIP:localPort.

The dashboard opens with an authentication prompt

Enter the dashboard_username and dashboard_password values supplied during deployment. Successful login opens the monitoring dashboard.

Resources

License

frp is licensed under the Apache License 2.0. This Sealos template follows the templates repository license.

From launch to everyday operations

Why deploy
on Sealos

A shorter path from an app you want to an app you can run. Sealos brings deployment and ongoing operations into one place.

  1. One-click deployment

    Start with a ready-made template. Review its configuration and launch from the Sealos console.

  2. Managed Kubernetes

    Run on managed infrastructure with built-in workload scheduling and recovery.

  3. Automatic HTTPS

    Give your application a public HTTPS endpoint with certificates managed for you.

  4. Persistent storage

    Keep application data on persistent volumes across container restarts.

  5. Room to grow

    Adjust CPU, memory, and replicas from the console as your workload changes.

One template. Connected resources.

You Get the Whole Stack

Sealos provisions the resources defined by your template and brings them together in your workspace.

  • App Service

    Container workloads with configurable CPU, memory, and replicas.

  • Public HTTPS URL

    An address for your app, with managed TLS certificates.

  • Database

    A database provisioned alongside your app when the template calls for one.

  • Persistent Volume

    Storage for the files and data your application needs to keep.

  • Environment Variables

    Application settings and secrets configured in one place.

  • Logs & Metrics

    Inspect container logs and resource usage from the console.

Resources and their configuration vary by template. Review the deployment form for this app’s exact setup.

Explore more production-ready templates.

More