当前位置:网站首页>Hello! Forward proxy!
Hello! Forward proxy!
2022-06-26 11:29:00 【BOGO】
Generally speaking, the agency is positive , Reverse two
Forward proxy clients , Is the communication requestor .
The reverse proxy agent is the server , Is the receiver of the communication .
Reverse proxy is not mentioned for the time being , Too familiar !nginx、Fikker、Traefik、haproxy You can say fourorfive at will .
Today we mainly talk about forward agency . Let's start this relationship !
Forward proxy is divided into transparent proxy , Anonymous and highly anonymous proxy . This is transparent , anonymous , High anonymity is aimed at the information receiver .
Transparent proxy :
The other server can know that you are using the proxy , And I know your truth IP
http Head for :
REMOTE_ADDR = proxy server IP
HTTP_VIA = proxy server IP
HTTP_X_FORWARDED_FOR = Your truth IP
Anonymous proxy :
The other server can know that you are using the proxy , But I don't know your truth IP
http Head for :
REMOTE_ADDR = proxy server IP
HTTP_VIA = proxy server IP
HTTP_X_FORWARDED_FOR = proxy server IP
High anonymity agent :
The other server can know that you are using the proxy , But I don't know your truth IP
http Head for :
REMOTE_ADDR = proxy server IP
HTTP_VIA = No display
HTTP_X_FORWARDED_FOR = No display
So when we work in the computer room , If there is a machine that can access the Internet , Other machines can't connect to the network. What should we do ? How can other machines use the network to install and deploy ?
Today, I will introduce a forward agent software squid!
Proxy server installation command :
yum install squid -y
#vim /etc/squid/squid.conf
acl local src 192.9.191.0/24 // allow 192.9.191.0/24 All clients in the network segment access the proxy server
systemctl start squid
systemctl enable squid
squid The server is turned on by default 3128 port , Pay attention to the firewall !
Client configuration :
export http_proxy=http://192.9.191.30:3128 \\192.9.191.30 It's a proxy server ip
export https_proxy=http://192.9.191.30:3128
echo "export http_proxy=http://192.9.191.30:3128" >>/etc/profile
echo "export https_proxy=http://192.9.191.30:3128" >>/etc/profile
source /etc/profile
If you can't yum, You can try the following configuration :
edit /etc/yum.conf, Add... At the end :
# Proxy
proxy=http://192.9.191.30:3128/
The above is to do a good job of forward network proxy !
BOGO will use his spare time to produce more and better works !
边栏推荐
- Grain Mall - distributed Foundation
- 我想知道同花顺是炒股的么?在线开户安全么?
- 机器学习线性回归——实验报告
- PC qq Hall upload Update Modifying versioninfo
- Splicing full paths and uploading multiple pictures of laravel admin when laravel uses OSS
- 基于slate构建文档编辑器
- Prospering customs through science and technology, Ronglian and Tianjin Customs jointly build a genomic database and analysis platform
- Redis的最佳实践?看完不心动,算我输!!
- How to prevent weight loss under Gao Bingfa?
- laravel 写原生SQL语句
猜你喜欢
Statistical genetics: Chapter 2, the concept of statistical analysis
19:第三章:开发通行证服务:2:在程序中,打通阿里云短信服务;(仅仅是打通阿里云短信服务器,不涉及具体的业务开发)
[deep learning theory] (7) long and short term memory network LSTM
How to calculate flops and params in deep learning
What does ack attack mean? How to defend against ack attacks?
机器学习SVM——实验报告
Machine Learning Clustering - Experimental Report
机器学习PCA——实验报告
9、 Beautify tables, forms, and hyperlinks
Origin of b+ tree index
随机推荐
[deep learning theory] (6) recurrent neural network RNN
科技兴关,荣联与天津海关共建基因组数据库及分析平台
laravel-admin 用 原生JS实现声音提示,及自动播放
QT connection MySQL data query failed
express在nodejs中的基本使用
我想知道,十大劵商如何开户?在线开户安全么?
Black squares in word
Re recognized! Know that Chuangyu has been selected as one of the first member units of the "business security promotion plan"
word中涂黑的方块
How to calculate flops and params in deep learning
NFS共享存储服务安装
Laravel admin hidden button, and set button display, default sequence, form form form non modifiable value
高并发下如何防重?
TCP interview
利用 Repository 中的方法解决实际问题
Openresty overview
HUST network attack and defense practice | 6_ IOT device firmware security experiment | Experiment 3 freertos-mpu protection bypass
Character sets and comparison rules
介绍一下实现建模中可能用到的时间序列预测之线性二次移动平均,Excel的简单操作
. Net, the usage of log components NLog, seriallog, log4net