Build a high-performance enterprise-level gateway and proxy server under FreeBSD
FreeBSD + PF + squid
1. kernel Compilation
To make FreeBSD a shared Internet server, we also need to compile a new kernel.
(1) Compile the Kernel configuration file
First, we need to compile the Kernel configuration file to support pF an
1> Proxy Server
A proxy server is one of the common servers in the network. It provides file caching, replication, and address filtering services, making full use of limited outbound bandwidth, and accelerating access to internal hosts, it can also solve the problem that multiple users need to access the Internet at th
, the help address is Helper address) it can help DHCP clients apply for IP addresses and other TCP/IP parameters across routers, so as to solve the problem that DHCP cannot work properly due to the separation of broadcast domains. Figure 9.23 shows how DHCP relay proxy works.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/00525M621-0.png "title =" 1.png"/>
Step 1:The DHCP Client sends the DHCP Discover broadcast to find
This article introduces the use of Muduo to implement a simple SOCKS4A proxy server, code see http://code.google.com/p/muduo/source/browse/trunk/examples/socks4a/.
TCP Repeater
Before implementing SOCKS4A Proxy, we first write a simpler network program--TCP repeater (TCP relay), or the tcpdump of the poor (poor man ' s tcpdump).
In general, the client program
: try to adjust the speed and duplex mode of the router's WAN port. Login Router Management interface, click on
network Parameters
>>
WAN
port rate mode , select 10mbpsmode setting
/c8> half-duplex or 10Mbps full-duplex mode, click Save , as shown below:
Note : Some routers or some software versions do not support adjusting the WAN port rate mode, a
: Click to enable and disable the DMZ host.
For example, you can set a computer with the IP address 192.168.0.10 in the LAN as a DMZ host to implement bidirectional communication between the computer and another host on the Internet.
Note: When the host is set to a DMZ host, the computer is completely exposed to the Internet, and the firewall does not work for the host.
Tengda wireless router virtual server
hundred thousand RMB.3. Support for Rewrite Rules: You can allocate HTTP requests to different backend server groups based on different domain names and URLs.4. built-in health check function: If a Web server on the Nginx Proxy backend is down, front-end access will not be affected.5. bandwidth saving: GZIP compressio
1. Proxy and reverse proxy server: connection requests from the proxy internal network to the Internet. External access requests to the internal network are not supported. Reverse Proxy Server: acts as a
Linux under Configuration Squid1. What is squidSquid cache (squid) is a popular free software (GNU General Public License) proxy server and Web cache server. Squid has a wide range of uses, from caching related requests as Web server cache servers to increasing the speed of Web servers, to sharing network resources for
First, Caching Agent OverviewApplication layer of Agent service software, squid mainly provides cache acceleration, application layer filtering control function1, the agency's working mechanismFirst case: There is a cache in the Squid serverWhen a client requests a Web page through a proxy, the specified proxy server checks its own cache and, if there is already
I. Proxy Server-Session Layer-firewall-Network Information Transfer Station
1. Concept: a computer system or other network terminal that provides proxy services. It is called a proxy server.
2. Nature: a proxy
First, the function of the proxy server1, break through their own IP restrictions, to hide their own IP address, access to restricted sites.2, improve access speed, Proxy server equivalent to a layer of cache.Second, directly use proxy to create the connectionA proxy has a c
), and then set it to the default proxy server.
Q: Which applications must install the Wingate client program?
A. Programs that require a direct Internet connection and do not support the SOCKS Proxy service (such as NetMeeting) need to install Wingate client software. Once the Wingate client configuration succeeds,
Personal set up a Web server to consider a lot of questions, today to explore the network of personal building stations. We all know that if the Web or FTP site established on the LAN, only the intranet can access, the extranet is inaccessible. To solve this problem, the usual approach is to apply a peanut shell IP binding a domain name, and then set the mapping on the broadband router, mapping the domain n
The server on the Web is called Web server, but there is a different division of labor.
Nginx is often used to do static content services and proxy servers (not you FQ that agent), directly to the external request forwarding to the subsequent application services (Tomcat,django), Tomcat more used to do an application container, let Java Web App running inside th
Server
Example:
ProxyRequests OnProxyVia On
Other agent modules
The following five auxiliary proxy modules must be supported by the mod_proxy module:
Mod_proxy_ajp: provides support for Apache JServ protocal.
Mod_proxy_balancer: provides support for Server Load balanc
class, I began to study this afternoon if the limit is bypassed, first I think of using my computer to connect to the campus network after the proxy server, the other students of the computer through my proxy server will be able to surf the internet, said dry dry.Fortunately, the notebook has two network cards, Ethern
The detailed settings for accessing the Internet through the proxy server in the LAN do not have a router in the LAN, or you want to avoid restrictions in the LAN, so that other computers can access the Internet through a computer. Steps for www.2cto.com: 1. Select A computer as the proxy
requires a higher level of IO. This requirement can be achieved through a custom configuration LH6000. By using RAID, you can improve disk performance and increase the reliability of your data. The proxy server software consumes a large amount of memory. LH6000 can support 8GB of memory. The final selection is configured as follows:
Configuration
Processor: In
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.