slowjet

is a part of a carburetor

Making a proxy server on DTI VPS

$ yum install squid
$ vi /etc/squid/squid.conf

squid.conf

add follogin block below acl CONNECT method CONNECT

# allowed hosts
acl allow_hosts src [IP address]/32
http_access allow allow_hosts

add following block below

http_access allow localnet
http_access allow localhost
# And finally deny all other access to this proxy
http_access deny all

# Squid normally listens to port 3128
#http_port 3128
http_port 8080

add following block to the bottom

# anonymous proxy server
visible_hostname unknown
forwarded_for off
request_header_access X-FORWARDED-FOR deny all
request_header_access Via deny all
request_header_access Cache-Control deny all

then

$ yum update openssl
$ service squid restart

I needed to update 'openssl' by some errors.

Open ports

$ vi /etc/sysconfig/iptables

iptables

add following block to the bottom

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80    -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8080  -j ACCEPT

then

$ service iptables restart

Do the test, end.