当前位置:网站首页>Fast understanding of forward proxy and reverse proxy
Fast understanding of forward proxy and reverse proxy
2022-07-01 01:40:00 【Long song of imperial sword】
Forward agency (Forward Proxy)
Forward proxy refers to the use of a proxy server to access the target server
The proxy server is user oriented 
Common scenarios
To speed up access
Like a game accelerator , Various agent software , Is to use the principle of forward proxy . For example, to access GitHub, The original network access speed will be relatively slow , The purpose of acceleration can be achieved through foreign proxy servers .Agent access
Software development , Some services are connected , The service is set to ip White list , Only through specific ip Go to the service , At this time, you can request locally through proxy , Easy to develop and test .
Reverse proxy
The agent is a forward user , The reverse proxy is the opposite , The proxy object is Target server , It refers to that the server uses the proxy server to provide services to users .
Compared with forward agent , Both are implemented by proxy server , But the subject of the reverse proxy is the server , Therefore, reverse proxy is transparent to users , In the user's view , The proxy server is the target server .

Reverse proxy is configured for back-end services in enterprise applications , For example, common nginx , also LVS/F5 etc. .
summary
The forward proxy needs to be configured by the client , Generally speaking, we will configure through the tools or interfaces provided by the browser or operating system . This is the time , The proxy is not transparent to the client , The client needs to know the address of the proxy and configure it manually . Configured the agent , The browser will make special modifications to the message when sending the request .
Reverse proxy is transparent to clients , In other words, the client generally does not know the existence of the proxy , Think you are communicating directly with the server . Most of the websites we visit are reverse proxy servers , The reverse proxy server will forward it to the real server , Generally, the reverse proxy layer is used to realize load balancing and high availability . And you can see it here , The client will not know the real server ip Address and port , This has played a role of security protection to a certain extent
边栏推荐
- laravel Carbon 时间处理类使用
- dc_ Study and summary of labs--lab1
- gin_gorm
- Construction and beautification of personal blog
- [stack] 921 Minimum Add to Make Parentheses Valid
- New opportunities for vr/ar brought by metauniverse
- [simulation] 922 Sort Array By Parity II
- 测试必备工具—Postman实战教程
- Sort custom function
- 微生物检测,土壤微生物的作用有哪些?
猜你喜欢

物业怎么发短信通知给业主?

未来的 Web3会带来什么?

Uniapp official component clicking item is invalid, solution

gin_ gorm

The personal test is effective, and the JMeter desktop shortcut is quickly created

6月第4周榜单丨飞瓜数据UP主成长排行榜(哔哩哔哩平台)发布!

dc_ Study and summary of labs--lab1

Exploration and practice of "flow batch integration" in JD

Construction and beautification of personal blog

Digital IC design process summary
随机推荐
【Qt5-基础篇_1】从0开始,德天老师和你一起学习——窗口简介
直播商城源码,实现左右联动商品分类页面
zabbix如何配置告警短信?(预警短信通知设置流程)
【动态规划】路径dp:931. Minimum Falling Path Sum
What are the functions of soil microorganisms in microbial detection?
微研所,微生物检验中常用的生化反应
[Qt5 tab] tab label and content hierarchical analysis
7-2 拼题A打卡奖励 dp
With regard to the white box test, you have to master these skills~
laravel 事件 & 监听
[Qt5 basic \u 1] starting from 0, Mr. Detian will study with you - Introduction to the window
股票开户有哪些优惠活动?另外,手机开户安全么?
【Content-Type请求头的内容】
工作八年的程序员,却拿着毕业三年的工资,再不开窍就真晚了...
编译安装oh-my-zsh
TypeError: can‘t convert cuda:0 device type tensor to numpy. Use Tensor. cpu() to copy the tensor to
Composants de la grille de données portatifs
工作6年,来盘点一下职场人混迹职场的黄金法则
Some essential differences
Gin configuration file