Setelah selesai instalasi proxy pake squid pastinya mau dicoba apakah berjalan dengan lancar atau ngga, salah satu mengeceknya selain menggunakan browser bisa menggunakan telnet.
Buka terminal dan eksekusi perintah dibawah ini

# telnet ipserver portproxy
telnet 192.168.1.100 3128

nanti akan muncul tampilan seperti dibawah ini

Connected to 192.168.1.100.
Escape character is '^]'.

ketik misalkan kita akan membuka jaranguda.com

GET jaranguda.com

bila menggunakan password akan muncul error seperti dibawah ini

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>ERROR: The requested URL could not be retrieved</title> <style type="text/css"><!--   %l  body :lang(fa) { direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; } :lang(he) { direction: rtl; float: right; }  --></style> </head><body> <div id="titles"> <h1>ERROR</h1> <h2>The requested URL could not be retrieved</h2> </div> <hr>  <div id="content"> <p>The following error was encountered while trying to retrieve the URL: jaranguda.com</p>  <blockquote id="error"> <p><b>Invalid URL</b></p> </blockquote>  <p>Some aspect of the requested URL is incorrect.</p>  <p>Some possible problems are:</p> <ul> <li><p>Missing or incorrect access protocol (should be <q>http://</q> or similar)</p></li> <li><p>Missing hostname</p></li> <li><p>Illegal double-escape in the URL-Path</p></li> <li><p>Illegal character in hostname; underscores are not allowed.</p></li> </ul>  <p>Your cache administrator is <a href="mailto:webmaster%W">webmaster</a>.</p> <br> </div>  <hr> <div id="footer"> <p>Generated Wed, 10 Apr 2013 03:29:20 GMT by proxy.xxxxxxx.com (squid/2.7.STABLE9)</p> <!-- ERR_INVALID_URL --> </div> </body></html> Connection closed by foreign host.

berarti koneksi squid anda telah berjalan sukses. Silahkan dicoba di browser.

Leave a comment

Your email address will not be published. Required fields are marked *