当前位置:网站首页>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 !
边栏推荐
- How to calculate flops and params in deep learning
- 机器学习深度神经网络——实验报告
- 深度理解STM32的串口實驗(寄存器)【保姆級教程】
- C language -- operators and expressions
- Measures to support the development of cultural and creative industries in Futian District, Shenzhen
- How to prevent weight loss under Gao Bingfa?
- Sqli labs range 1-5
- Random numbers in leetcode 710 blacklist [random numbers] the leetcode path of heroding
- . Net, the usage of log components NLog, seriallog, log4net
- [redis series] redis learning 16. Redis Dictionary (map) and its core coding structure
猜你喜欢

Unity使用SteamVRPlugin时如何不让其他Camera位置和旋转收到SteamVRPlugin控制

QT connection MySQL data query failed

leetcode 715. Range module (hard)

机器学习线性回归——实验报告

Cet article présente la moyenne mobile quadratique linéaire et le fonctionnement simple d'Excel pour réaliser la prédiction des séries chronologiques dans la modélisation.

That is to say, "live broadcast" is launched! One stop live broadcast service with full link upgrade

Flannel's host GW and calico

Machine Learning Clustering - Experimental Report

leetcode 715. Range 模块 (hard)

深度理解STM32的串口实验(寄存器)【保姆级教程】
随机推荐
机器学习LDA——实验报告
Nacos2.x.x start error creating bean with name 'grpcclusterserver';
3、 Linked list exercise
Several problems encountered in setting up the environment in the past two days
介绍一下实现建模中可能用到的时间序列预测之线性二次移动平均,Excel的简单操作
十大券商有哪些?手机开户安全么?
Unity使用SteamVRPlugin时如何不让其他Camera位置和旋转收到SteamVRPlugin控制
02 linked list of redis data structure
Laravel admin hidden button, and set button display, default sequence, form form form non modifiable value
I want to know whether flush is a stock market? Is it safe to open a mobile account?
我想知道同花顺是炒股的么?手机开户安全么?
laravel-admin 用 原生JS实现声音提示,及自动播放
redux相关用法
QT connection MySQL data query failed
Mqtt disconnect and reconnect
深度理解STM32的串口實驗(寄存器)【保姆級教程】
Machine learning linear regression - Experimental Report
Code specification & explain in detail the functions and uses of husky, prettier, eslint and lint staged
机器学习聚类——实验报告
10 years' experience in programmer career - for you who are confused