Configuring squid proxy for http and rsync is too bad. In what time, the CPU is 4, and the memory is only 1.5 gb ddr. Fortunately, there is USB. It's no fun to install gentoo on a virtual machine. The CPU does not support VT-x and is 32-bit. ubuntu running 32-bit virtualbox is almost slow. Scan the IDC network one day and find an available server, Zhiqiang E7520, good guy, dual-channel, 16-core, 16 GB. It's just a waste of running several network devices and firewall management programs. Run the VM. Unfortunately, the network segment cannot access the Internet. So I thought of setting up a proxy on the local machine. The network topology is shown in the figure below: Because windows is installed on the office computer, you have to install squid for windows to download it: Access Acme fuse to install squid-2.7.stable8-bin.zip, which is generally configured in the c: \ squid directory: go to the etc directory and rename the three configuration files: cachemgr. conf. default => cachemgr. confmime. conf. default => mime. confsquid. conf. default => squid. conf modify squid. conf [plain] http_accescc allow 10_8_5 # acl 10_8_5 src 10.8.5.0/24 acl SSL_port port 873 # for rsync acl Safe_port 873 # for rsync visible_hostname localhost run before http_access deny all: [plain] squid-I # squid-I installation service, the service name is squid, you can also use-n to specify the name squid-z # create cache net start squid # Run the squid service and then modify/etc/make on the gentoo system of the virtualbox virtual machine on the server. conf, add [plain] HTTP_PROXY =" http://10.8.117.7:3128 "RSYNC_PROXY =" 10.8.117.7: 3128 "NOTE: RSYNC_PROXY =" 10.8.117.7: 3128 "cannot be written as RSYNC_PROXY =" rsync: // 10.8.117.7: 3128 ". I cannot do it here. Then you can freely enable eix-sync and emerge.