当前位置:网站首页>Squid agent
Squid agent
2022-06-11 06:00:00 【visionkiwi】
Squid agent
There is an empty computer in the laboratory , Put on centos7.5 The system is ready to be built harbor play , It turns out that there is no net , I don't want to use local sources , The campus network also needs authentication to log in , So we used squid
Preparation
| a centos7.5 System | First, use the local source |
|---|---|
| a win10 System | Two network cards are required |
| A switch | centos and win Connect through a switch |
I used a wireless network card here to plug in win10 On , Used to connect the campus network
squid linux edition
The local source configured by myself contains , So myself yum -y install squid
squid win10 edition
link :https://pan.baidu.com/s/13HIM6_UJYuKDZOvNrEqIjw
Extraction code :1804
– From Baidu network disk super member V4 The share of
Configure server (win10)
The installation to c disc
Then enter squid Folder , When entering etc–>squid–>squid.conf
http_access deny all Change to http_access allow all
Firewall settings

Click Advanced settings on the right of the above figure –> Inbound settings –> New rules –> port –>3128–> Allow connections –> Future generations –>Squid Service. Here's the picture





Use the same method to create UDP Inbound protocol for , The same is true for outbound protocols , One UDP, One TCP, All ports are 3128
Modify and save in win10 The taskbar has a squid Right click on the icon to make sure it is start squid servier
Then open the squid Terminal perform
squid -k parse
squid -z
Configure client (centos)
yum -y install squid
vi /etc/profile
# Add... At the bottom
export http_proxy=http:// Server side ip:3128
export https_proxy=http:// Server side ip:3128
export no_proxy="127.0.0.1,localhost"
source /etc/profile
systemctl restart squid
Last curl Try Baidu and it won't work , After my own experiments ping It won't work ,curl Will be able to .
Connect the campus network through the wireless network card win10 The Internet , And then through squid agent , Give Way centos adopt win10 The self-contained network card is connected to each other , Realize Internet access
边栏推荐
- The artistic director and production designer of Disney's Mandalorian revealed the virtual scene production behind it
- NDK learning notes (x) POSIX socket for connectionless communication
- Principle of copyonwritearraylist copy on write
- Installing MySQL for Linux
- Super (subclass)__ init__ And parent class__ init__ ()
- qmake 实现QT工程pro脚本转vs解决方案
- Functional interface lambda, elegant code development
- NLP-D46-nlp比赛D15
- 跨境电商测评自养号团队应该怎么做?
- 那个酷爱写代码的少年后来怎么样了——走近华为云“瑶光少年”
猜你喜欢

How to use perforce helix core with CI build server

跨境电商测评自养号团队应该怎么做?

Devsecops in Agile Environment

Goodbye 2021 Hello 2022
![Experimental report on information management and information system [information security and confidentiality] of Huazhong Agricultural University](/img/f6/e58196aeac85178f6603cea1962a6e.jpg)
Experimental report on information management and information system [information security and confidentiality] of Huazhong Agricultural University

NFC Development -- utility tools and development documents (IV)

Sqli-libs range 23-24 filtration and secondary injection practice

Multithreading tutorial (XXVII) CPU cache and pseudo sharing

NDK learning notes (VIII) thread related

How to use the markdown editor
随机推荐
Concepts and differences of parallel computing, distributed computing and cluster (to be updated for beginners)
Altiumdesigner2020 import 3D body SolidWorks 3D model
Further efficient identification of memory leakage based on memory optimization tool leakcanary and bytecode instrumentation technology
Completabilefuture asynchronous task choreography usage and explanation
跨境电商测评自养号团队应该怎么做?
SQLite one line SQL implementation updates if there is one, inserts if there is none, multiple conditions, complex conditions
NDK learning notes (12) native graphics API, using avilib to create an avi video player
那个酷爱写代码的少年后来怎么样了——走近华为云“瑶光少年”
Multithreading tutorial (XXIII) thread safety without lock
Configure the rust compilation environment
Vscode plug-in development
NDK learning notes (14) create an avi video player using avilib+window
The meaning in the status column displayed by PS aux command
Getbackgroundaudiomanager controls music playback (dynamic binding of class name)
Qmake implementation of QT project Pro script to vs solution
Linux Installation redis
NDK learning notes (x) POSIX socket for connectionless communication
Yonghong Bi product experience (I) data source module
Gilde failed to go to the listener to call back the reason record when loading the Gaussian blur image
做亚马逊测评要了解的知识点有哪些?