4/1/12

Automatic Proxy Server on Debian 5 Server

  1. pre-up iptables-t nat-A PREROUTING-p tcp - dport 80-j REDIRECT - to-port 3128 (typed in interfaces folder)
  2. insert the CD Debian 5
  3. apt-get install  squid 
  4. mv  /etc/squid/squid.conf  squid.bak
  5. nano / etc / squid / squid.conf  (text  Enter the following command )  
  6.  Save with Ctrl + X and press Enter
  7. nano / etc / squid / block.txt (fill in the url (website) to be blocked as the following example) and save  
  8.  / etc / init.d / squid restart (caption: restart squid)    
This information can I provide may be useful do not forget the criticisms and suggestions.

    No comments:

    Post a Comment