Nếu bạn có môt con VPS thì tội gì không tạo một proxy server để dùng cho tiện .
Mình hay download phim trên fshare cho nên proxy dùng thường xuyên . tất nhiên là dùng cả trên điện thoại được qua soft này Hướng dẫn sử dụng proxy trên android
Để cài đặt một proxy server trên VPS tốt nhất là dùng Squid vì nó rất dễ cấu hình và nhiều tính năng hay .
Hướng dẫn cài đặt Squid trên centos .
Mã:
yum -y install squid
Mã:
chkconfig squid on
Mã:
nano /etc/squid/squid.conf
Mã:
http_port 3128
Mã:
via off
forwarded_for off
request_header_access Allow allow all
request_header_access Authorization allow all
request_header_access WWW-Authenticate allow all
request_header_access Proxy-Authorization allow all
request_header_access Proxy-Authenticate allow all
request_header_access Cache-Control allow all
request_header_access Content-Encoding allow all
request_header_access Content-Length allow all
request_header_access Content-Type allow all
request_header_access Date allow all
request_header_access Expires allow all
request_header_access Host allow all
request_header_access If-Modified-Since allow all
request_header_access Last-Modified allow all
request_header_access Location allow all
request_header_access Pragma allow all
request_header_access Accept allow all
request_header_access Accept-Charset allow all
request_header_access Accept-Encoding allow all
request_header_access Accept-Language allow all
request_header_access Content-Language allow all
request_header_access Mime-Version allow all
request_header_access Retry-After allow all
request_header_access Title allow all
request_header_access Connection allow all
request_header_access Proxy-Connection allow all
request_header_access User-Agent allow all
request_header_access Cookie allow all
request_header_access All deny all
acl localnet src ip.cua.may.ban
ví dụ
Mã:
acl localnet src 192.168.1.1
Mã:
http_access deny all
Mã:
http_access allow all
Mã:
service squid restart
Bạn nào có proxy nào cài đặt xong thì cho mình dùng ké với nhé đang thiếu proxy. Inbox nhé .