当前位置:网站首页>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 !
边栏推荐
- Nacos2.x.x start error creating bean with name 'grpcclusterserver';
- Origin of b+ tree index
- Grain Mall - distributed Foundation
- Character sets and comparison rules
- Redux related usage
- FasterRCNN
- 2、 Linear table
- 介紹一下實現建模中可能用到的時間序列預測之線性二次移動平均,Excel的簡單操作
- I want to know how the top ten securities firms open accounts? Is online account opening safe?
- Machine learning linear regression - Experimental Report
猜你喜欢

Statistical genetics: Chapter 1, basic concepts of genome

How to prevent weight loss under Gao Bingfa?

Redux related usage

C language -- operators and expressions

Matlab programming example: how to count the number of elements in a cell array

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

Easyx----- C language implementation 2048

Machine learning SVM - Experimental Report

QT connection MySQL data query failed

【Redis 系列】redis 学习十六,redis 字典(map) 及其核心编码结构
随机推荐
Easyx----- C language implementation 2048
loggie 编码以及换行符测试
10年程序员职业生涯感悟—写给正在迷茫的你
HUST网络攻防实践|6_物联网设备固件安全实验|实验三 FreeRTOS-MPU 保护绕过
DD command tests the read and write speed of Huawei Kunpeng & Hongshan solid state storage disk
laravel-admin 非自增ID获取, 及提交隐藏表单
19: Chapter 3: develop pass service: 2: get through Alibaba cloud SMS service in the program; (it only connects with Alibaba cloud SMS server, and does not involve specific business development)
How to calculate flops and params in deep learning
Is it safe to open an account in the top ten securities app rankings in China
laravel中使用group by分组并查询数量
[redis series] redis learning 16. Redis Dictionary (map) and its core coding structure
Splicing full paths and uploading multiple pictures of laravel admin when laravel uses OSS
Machine learning LDA - Experimental Report
Redis best practices? If I don't feel excited after reading it, I will lose!!
Solidworks渲染技巧如何不显示边线--显示样式设定
PC QQ hall upload update modify VersionInfo
请指教同花顺开户选选择哪家券商比较好?手机开户安全么?
APICloud 实现文档下载和预览功能
Code specification & explain in detail the functions and uses of husky, prettier, eslint and lint staged
这两天搭建环境遇到的几个问题