代理如何通过SQUID代理使用QQ

代理qq  时间:2021-03-02  阅读:()

如何通过S QUID代理使用QQ

Set up the Squid * * server

Abstract:

Linux is now becoming synonymous with the web. It can be usedas a file server, a print server, or a printed server in anoffice environment or a daily home.

The mail server and the application server are used and arebeing used as a * * server.

A** server can provide Internet access services to differentusers at the same time through an Internet connection. Good *

* clothing

The server also provides the caching service for the accessrequest, so that when a local access request arrives, the * *server is first checked in the cache record

Ask for the same request, and if there is, the data is sent backto the client directly from the cache, reducing the time toaccess the WEB and reducing the bandwidth

The pressure.

Squids is a software that supports Proxy, HTTP caching, Ftp,Gopher, and so on, which also supports SSL, access control, DNScache and for

All requests are recorded. Squids are also available under

Windows NT, and see Logi Sense.

The focus of this article is to configure a * * server andprovide basic guidance for users to provide controlled access.Has the squids been installed?

The Squid RPM file has been bundled with RedHat 7. 1, which isselected in the network option when the system is installedIt will automatically be installed on the system. You can checkif you've installedthe squids in your systemwiththe followingcommand:

The RPM - q squids

The latest version of the Squid can be found on the squib homepage or its mirror site. The squids can be installed on thesystem with the following command:

RPMS - ivh squid-2. stable4-10. I386. RPM

Squid conf iguration

The custom of the squids is implemented by editing itsconfiguration file, squid.conf, which is usually in

/etc/squids

Under. This configuration file has a lot of content, but thegood news is that each of its options is detailed.

The first thing you want to change is http_port, which specifiesthe port that the Squid listens on for the customer request,and the default value is 3128. To use * *

Functionality, this port value is used with the IP address ofthe machine running the squids, and can be modified to this:Http_port 192. 168.0. 1:8080

The above declaration indicates that the Squid is tied to IPaddress 192. 168.0. 1, withport 8080. The port can be set to any,but be sure

No other program USES the same port. The other service requestport Settings can also be set to a similar configuration.The above declaration indicates that the Squid is tied to IPaddress 192. 168.0. 1, with port 8080. The port can be set to anyvalue, but be sure

No other program USES the same port. The other service requestport Settings can also be set to a similar configuration.Access control

Using the access control feature, you can control for caching,accessing a particular site, or a set of sites, depending onthe time interval during the visit. The Squid access controlhas two elements: ACL elements and access lists. Access listsallow or deny access to certain users for this service.

Here are some of the important ACL element types

* SRC: source address (that is, the client IP address)

* DST: target address (that is, the server IP address)

* srcdomain: source name (that is, the client name)

* dstdomain: target name (that is, the name of the server)

* time: every day of the day and one day in a week

* url_regex: the URL rule expression matches

*urlpath_regex: the URL-path rule expression match, slightlythe protocol and host name

* proxy_auth: user authentication through an external program

* maxconn: the maximum number of connections for a single IPTo use the control function, you must first set the ACL ruleand apply it. The format of the ACL declaration is as follows:Acl acl_element_name type_of_acl_element values_to_aclNote:

Acl_element_name can be a name defined in the ACL.

Any two ACL elements cannot use the same name.

Each ACL is composed of list values. When a match is performed,multiple values are connected by logical or operation. In otherwords, either ACL

The value of the element is matched, and the ACL element ismatched.

Not all ACL elements canuse the entire type in the access list.Different ACL elements are written in a non-peer, and squidscombine them in a list.

We can use many different access entries. Here are some of thethings we're going to use:

* http_access: allows HTTP access. This is the main accesscontrol entry.

* no_cache: defines the response to the cache request.The rules of the access list are made up of key words like'allow' or 'deny' to allow or deny service to a particular orset of ACL elements.

Note:

These rules match the order in which they are sorted, and oncethe rules are detected, the matching test ends immediately.A list of access can be composed of multiple rules.

If no rule matches the access request, the default actioncorresponds to the last rule in the list.

All the elements in a access entry will be connected by logicand operation:

Http_access Action declaration 1 AND declaration 2 ANDdeclaration OR.

3 http_access Action statement

Multiple http_access declarations are used or connected, buteach access entry is used with an operation connection.Remember that the rules in the list always follow the order inthe top.

Back to the Squid conf iguration

Squid does not do any user access control by default. Customrules are required to allow a certain access. Enter thefollowing text before the http_access deny line in squi. conf:Acl mynetwork 192. 168.0. 1/255.255. 255.0

Http_access allow mynetwork

Mynetwork is the acl name, and the next line is the rule fora specific acl (that is, the mynetwork) . 192. 168.0. 1 indicatesthe network' s subnet of 255.255.255.0. Mynetwork is primarily

intended to give the network a set of machines, and the nextrule allows them

The machine accesses the HTTP service. The above modificationworks with http_port to make the squids work well. When themodification is complete, squids

You can start with the following command:

Squid service start

Note:

Squids canalso be runautomatically when the system is started,by opening the squids in ntsysv or setup (system service menu) .in

After making any changes to the configuration file, thecurrently running Squid process must be restarted. You can usethe following command:

The service squid restart or

/ etc

Configure the client

Because the client request is sent to a specific port on the

* * server, the client should also do the configurationaccordingly. Before moving on, please

Confirm that the client that is accessing the * * server hasbeen connected to the LAN and has been assigned a valid IPaddress, so make sure they all ping

The Linux server running the Squid is running.

Configuration under Internet Explorer:

Click on the tool-> Internet option on the menu

Select the connection and click the LAN Settings

Select the IP address and port to enter the above * * serverwith the * * server.

Conf iguration under Netscape Navigator:

1. Click on the menu editor (Edit) -> preferences (Preference)- > Advanced (Advanced) - > * * server (Proxi es) .

2.

Select Manual Proxy Configuration for Manual Configuration.Click View

Enter the IP address and port of the above * * server.Access control

Multiple access control and its rules provide a flexible

mechanism for client-side access control. Here are the usualexample s:

Allow the machine in the list to access the Internet.Acl allowed_clients SRC 192. 168.0. 10192. 168.0.20192. 168.0. 30

Http_access allow allowed_clients

Http_access deny! allowed_clients

This rule only allows the IP address to be 192. 168.0. 10,

192. 168.0. 20, and 192. 168.0. 30

Access to the Internet and other IPaddresses are deniedaccess.Limit access times.

Acl allowed_clients SRC 192. 168.0. 1/255.255.255.0

Acl regular_days time MTWHF 10:00-16:00

Http_access allow allowed_clients regular_days

Http_access deny! allowed_clients

This rule allows all clients in subnet 192. 168.0. 1 to be from

10:00 a.m. to 4:00 p.m. Monday through Friday

Access to the Internet.

华纳云不限流量¥324/年,香港双向CN2(GIA)云服务器/1核1G/50G存储/2Mbps

华纳云(HNCloud Limited)是一家专业的全球数据中心基础服务提供商,总部在香港,隶属于香港联合通讯国际有限公司,拥有香港政府颁发的商业登记证明,保证用户的安全性和合规性。 华纳云是APNIC 和 ARIN 会员单位。主要提供香港和美国机房的VPS云服务器和独立服务器。商家支持支付宝、网银、Paypal付款。华纳云主要面向国内用户群,所以线路质量还是不错的,客户使用体验总体反响还是比较好...

RackNerd :美国大硬盘服务器促销/洛杉矶multacom数据中心/双路e5-2640v2/64G内存/256G SSD+160T SAS/$389/月

大硬盘服务器、存储服务器、Chia矿机。RackNerd,2019年末成立的商家,主要提供各类KVM VPS主机、独立服务器和站群服务器等。当前RackNerd正在促销旗下几款美国大硬盘服务器,位于洛杉矶multacom数据中心,亚洲优化线路,非常适合存储、数据备份等应用场景,双路e5-2640v2,64G内存,56G SSD系统盘,160T SAS数据盘,流量是每月200T,1Gbps带宽,配5...

UCloud优刻得,新增1核1G内存AMD快杰云机型,服务器2元/首月,47元/年

UCloud优刻得近日针对全球大促活动进行了一次改版,这次改版更加优惠了,要比之前的优惠价格还要低一些,并且新增了1核心1G内存的快杰云服务器,2元/首年,47元/年,这个价格应该是目前市面上最低最便宜的云服务器产品了,有需要国内外便宜VPS云服务器的朋友可以关注一下。UCloud好不好,UCloud服务器怎么样?UCloud服务器值不值得购买UCloud是优刻得科技股份有限公司旗下拥有的云计算服...

代理qq为你推荐
暴风影音怎么截图暴风影音怎么截屏啊?ghostxp3GHOSTxp sp3系统有什么优点和缺点???ghostxp3GHOST系统 ghostxp3 ghostxp2 ghostxp1 三者有什么区别?arm开发板arm开发板是干什么用的,是用在什么领域方面的qq空间装扮qq空间的装扮空间在哪?奇虎论坛奇虎论坛最新推荐歌曲列表·淘宝网页显示不正常淘宝网页不能正常显示淘宝网页显示不正常淘宝网显示不正常创维云电视功能创维健康云电视有什么功能?怎么升级ios6苹果IOS5怎么升级IOS6版本
过期备案域名查询 电信服务器租赁 香港vps 双线vps budgetvm 便宜域名 59.99美元 42u标准机柜尺寸 免费ftp站点 本网站在美国维护 微信收钱 新天域互联 怎样建立邮箱 最好的免费空间 新家坡 网络空间租赁 搜索引擎提交入口 腾讯总部在哪 上海电信测速 域名和主机 更多