当前位置:网站首页>FRP reverse proxy deployment
FRP reverse proxy deployment
2022-07-25 10:20:00 【Puffiness is also strong】
1. Software preparation
Linux CentOS7 7.6_1810
link :https://pan.baidu.com/s/1NV4MjfORIj290Q3scy6iYQ?pwd=pzse
Extraction code :pzse
In this paper frp The server is on the public network ip A server in a local area network ( Need to connect to the Internet ),frp The client is openvpn Server side server ( Need to connect to the Internet )
Internet port address
frp_0.38.0_linux_386.tar.gz Frp Deployment package
link :https://pan.baidu.com/s/1EsGnGCT0G99g578RJ1tO-w?pwd=1234
Extraction code :1234
2. Installation steps
Frp Match the reverse proxy software openvpn Can achieve intranet penetration
Server deployment
Upload the deployment package to yunwei Folder

Unzip the file :tar -xvf frp_0.38.0_linux_386.tar.gz

Delete two files on the client :
rm -rf frpc
rm -rf frpc.ini
modify frps.ini file :vim frps.ini
bind_port Server port
dashboard_port server Service port (web Monitoring the page )
token The client needs to point to this token value
dashboard_user web Monitor page users
dashboard_pwd web Monitor the page to verify the password
[common]
tcp_mux = false
bind_port = 7000
dashboard_port = 7500
token = Customize
dashboard_user = admin
dashboard_pwd = Customize

Save to exit
Start server frp:nohup ./frps -c frps.ini &
Check the log :cat nohup.out

client frp Deploy
Upload the deployment package to yunwei Folder

Unzip the file :tar -xvf frp_0.38.0_linux_386.tar.gz

Delete two files on the server :
rm -rf frps
rm -rf frps.ini
modify frps.ini file :vim frpc.ini
server_addr Public address
server_port Server port
token Customize token value
tcp_mux false
type = tcp Protocol type
local_ip This machine IP Address
local_port 1194 This machine frp The port number of the service
remote_port = 7001 ( The port number of this machine on the server )
bandwidth_limit Transmission rate /MB(100MB)
use_encryption true
use_compression true

Save to exit
start-up frp service :nohup ./frpc -c frpc.ini &
Check the log :cat nohup.out

Public network routing needs to be open :7000 7001 7500 port
openvpn IP The address needs to point to Internet port address 7001( Public network ip And port )
Frpweb Manage Pages : Internet port address :7500

边栏推荐
猜你喜欢

message from server: “Host ‘xxx.xxx.xxx.xxx‘ is not allowed to connect to this MySQL server“

VSCode Latex Workshop 设置 XeLatex 编译

About the jar package of slf4j log4j log4j2 used together

Rest使用与原理

修改mysql的分组报错Expression #1 of SELECT list is not in GROUP

Common methods of nodejs version upgrade or switching

JS encryption parameter positioning

Mysql离线部署

UE4 窗口控制(最大化 最小化)
构建 Dompteur 容器问题小记
随机推荐
bug要素
四、TestFixture测试夹具,或者测试固件
广度优先遍历(图和二叉树的层序遍历相关问题)
Configuring ROS development environment with vscode: Causes and solutions to the problem of ineffective code modification
Redis使用场景
四舍五入取近似值
Erlang(离线部署)
Swing的组件图标
IO流中的输入流
Ubuntu20.04系统下安装MySQL数据库5.7.29版本
Dynamic planning, shopping list problem
@Import, conditional and @importresource annotations
SQL 题目整理
文件的上传功能
UE4 外部打开exe文件
ES6 detailed explanation
Pow(x,n)
Common methods of nodejs version upgrade or switching
Output stream in io stream
PyTorch 对 Batch 中每个样本计算损失 Loss for each sample