当前位置:网站首页>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/profileIf 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 !
边栏推荐
猜你喜欢

PC qq Hall upload Update Modifying versioninfo

高并发下如何防重?
![[deep learning theory] (6) recurrent neural network RNN](/img/33/e270b08e7748a6e740eb618ed10c9a.gif)
[deep learning theory] (6) recurrent neural network RNN

机器学习PCA——实验报告

科技兴关,荣联与天津海关共建基因组数据库及分析平台

Grain Mall - distributed Foundation

(typora picture bed) Alibaba cloud OSS building picture bed +picgo uploading picture detailed tutorial

word中涂黑的方块

How to calculate flops and params in deep learning

10年程序员职业生涯感悟—写给正在迷茫的你
随机推荐
这两天搭建环境遇到的几个问题
Implementing MySQL master-slave replication in docker
Machine learning SVM - Experimental Report
Is it safe to open an account in the top ten securities app rankings in China
[Beiyou orchard microprocessor design] 10 serial communication serial communication notes
Machine learning PCA - Experimental Report
laravel 使用 OSS时拼接 完整路径 及 laravel-admin 的多图片上传
我想知道同花顺是炒股的么?手机开户安全么?
HUST网络攻防实践|6_物联网设备固件安全实验|实验三 FreeRTOS-MPU 保护绕过
18: Chapter 3: development of pass service: 1: SMS login & registration process, introduction; (SMS verification code is used here)
Laravel admin obtains non auto increment ID and submits hidden forms
【北邮果园微处理器设计】10 Serial Communication 串口通信笔记
Measures to support the development of cultural and creative industries in Futian District, Shenzhen
10 years' experience in programmer career - for you who are confused
loggie 编码以及换行符测试
[deep learning theory] (6) recurrent neural network RNN
HUST network attack and defense practice | 6_ IOT device firmware security experiment | Experiment 2 MPU based IOT device attack mitigation technology
FasterRCNN
Several problems encountered in setting up the environment in the past two days
关于印发《深圳市福田区支持战略性新兴产业和未来产业集群发展若干措施》的通知