当前位置:网站首页>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
边栏推荐
- 【agora】用户管理
- Log4j2 threadcontext log link tracking
- [dynamic planning] path dp:931 Minimum Falling Path Sum
- 工作6年,来盘点一下职场人混迹职场的黄金法则
- 【Qt5-基础篇】随机数显示屏展示
- laravel+redis 生成订单号-当天从1开始自增
- Basic knowledge 3 - standard unit library
- Qt5 mvc: revealing the secrets of data visualization
- 【模拟】922. Sort Array By Parity II
- 工作八年的程序员,却拿着毕业三年的工资,再不开窍就真晚了...
猜你喜欢

45 year old programmer tells you: why do programmers want to change jobs? It's too true

图灵奖得主LeCun指明AI未来的出路在于自主学习,这家公司已踏上征途

Selenium经典面试题-多窗口切换解决方案

What will Web3 bring in the future?

Zero of DC learning notes -- overview and basic process introduction

远程办公如何保持高效协同,实现项目稳定增长 |社区征文

医疗HIS行业短信发送解决方案

Lecun, a Turing Award winner, pointed out that the future of AI lies in self-learning, and the company has embarked on the journey

Mathematical knowledge: finding combinatorial number III - finding combinatorial number

flutter报错 -- The argument type ‘Function‘ can‘t be assigned to the parameter type ‘void Function()?‘
随机推荐
迪赛智慧数——其他图表(平行坐标图):2021年应届专业就业情况
孙宇晨接受瑞士媒体Bilan采访:熊市不会持续太久
Connectivity basis of Graphs
[stack] 921 Minimum Add to Make Parentheses Valid
laravel Carbon 时间处理类使用
TypeError: can‘t convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to
Mathematical knowledge: finding combinatorial number IV - finding combinatorial number
gin_gorm
3dsmax插件开发遍历节点对象和Object获取及INode变换矩阵说明
尝试新的可能
1500w播放下还藏着什么热点?B站2个未来趋势你不得错过
"Open math input panel" in MathType editing in win11 is gray and cannot be edited
关于白盒测试,这些技巧你得游刃有余~
PHP crawls data through third-party plug-ins
一站式洞察行业热点,飞瓜数据B站新功能「流量大盘」上线!
小程序中实现excel数据的批量导入
Construction and beautification of personal blog
System. Csrebot for commandline
Gin configuration file
Mathematical knowledge: finding combinatorial number III - finding combinatorial number