Original link: https://www.boyhu.cn/notes/the-simplest-way-to-achieve-coexistence-of-pagoda-panels-and-frp-servers-tutorial.html
I have to say that friends who have experienced Frp know that the self-built intranet penetration service still has to choose Frp. Like the NPS solution I used for half a year before, it is not so cool. I don’t know if it is an example. Although NPS has graphics The management interface, but its shortcomings are also obvious, the client and server will be disconnected frequently.
Then the boy’s solution is to use Frp instead. Of course, I am also a novice. I won’t write any tutorials on using the command line to install, because I don’t know how, haha! Here I will briefly describe my own tossing process in the way of Xiaobai.
Stepping on pitfalls: There are many different versions of Pagoda Frps third-party plug-ins on the Internet, but after testing, many of them cannot be used normally or even installed normally.
1. Conditions to be met
A server with the public network IP of the latest version of the Pagoda panel installed, and the Nginx service installed, so that it can bind the website normally.
2. Import the third-party Frps plug-in of Pagoda
On the Pagoda software store interface – third-party applications, you will see a button to import the plug-in, click it to upload the downloaded Frps plug-in .zip compressed package, confirm the installation and complete.
3. Set the Frps plug-in to modify the corresponding service port
The places that need to be set in the general settings:
- 1. Selectively update the frps version, which can be updated offline or online.
2. Set TCP port, UDP port, KCP port, verification key
3. The corresponding port is set so that it does not conflict with the pagoda panel
4. The Pagoda panel occupies the port by default
- 22 SSH default port
80 website default port
443 ssl default port
3306 Mysql default port
8888 Pagoda panel default port
888 phpmyadmin default port
20, 21, 39000-40000 FTP default ports
5. Set up the Frps server dashboard
Set up the monitoring port, account and password of the Frps server dashboard, so that after the Frps server is started, you can access the dashboard through [public network IP + listening port] to view the connection status traffic of the running Frpc project, etc.
6. Server/pagoda security release related ports
Release all the TCP ports you modified above, and your Frps service can run normally.
Well, if there is no accident, it will be 99% successful at this step, just enable Frps in the running state of the Frps plug-in.
7. Install the Frpc client on Synology
- 1. Add a third-party package source in the package center, search for Frpc and install it
2. Modify the Frpc configuration file
3. Correctly release the port you want to punch in the server/pagoda security
Eight, Frpc configuration file description
//Frpc连接Frps默认配置[common] server_addr = 127.0.0.1 //公网IP server_port = 8888 //Frps服务端TCP端口token = 123456 //设置私有密钥//以下是需要后增加的[nas] type = tcp local_ip = 127.0.0.1 //群晖NAS本地IP local_port = 5000 //群晖NAS本地端口remote_port = 5000 ////群晖NAS外网访问端口//每新增一个隧道添加一个,如Alist网盘挂载程序[alist] type = tcp local_ip = 127.0.0.1 local_port = 5244 remote_port = 5555
9. Reverse proxy access through domain name
Through the above operations, you can access any of your projects through [public network IP + tunnel mapped external network port]. It is also very simple to access through domain names. You can add a static website in the pagoda panel and then add a reverse proxy. Of course HTTPS certificates can also be configured.
Frps pagoda third-party plug-in download: https://lizi52.lanzoum.com/ir9IW0wmnsqh
Well, the codeword is not easy, the tutorial is over! If you have any questions, please pay attention to the comments, write in more detail, please pass by.
This article is reproduced from: https://www.boyhu.cn/notes/the-simplest-way-to-achieve-coexistence-of-pagoda-panels-and-frp-servers-tutorial.html
This site is only for collection, and the copyright belongs to the original author.