Install reverse proxy frp on linux

frp is a fast reverse proxy to help you expose a local server behind a NAT or firewall to the Internet. As of now, it supports TCP and UDP, as well as HTTP and HTTPS protocols, where requests can be forwarded to internal services by domain name.
frp also has a P2P connect mode.
More about frp, see
more about frp:

download frp and extract it. Package you need depends on CPU architecture and are amd64 usually.
Huawei Kunpeng CPUs are based on ARM64.
improper package may cause 203/EXEC failure.
1. copy the file frps to /usr/bin/
2. copy frps.ini to /etc/frp/
3. copy frps.service to /etc/systemd/system/

systemctl start/stop/status frps

# mv /frp_0.33.0_linux/frps /usr/bin/ && chmod +x /usr/bin/frps
# mkdir /etc/frp
# mv /frp_0.33.0_linux/frps.ini /etc/frp/ && chmod 777 /etc/frp/
# mv /frp_0.33.0_linux/systemd/frps.service /etc/systemd/system
# systemctl daemon-reload
# systemctl start frps

Then delete rest files which is for frpc.
If you want to install frpc, just do the same process, but replace frps with frpc.

For more information(detailed configs, supported protocols, how to enable tls and etc.), see