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 3128

nanti akan muncul tampilan seperti dibawah ini

Connected to
Escape character is '^]'.

ketik misalkan kita akan membuka


bila menggunakan password akan muncul error seperti dibawah ini

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" ""> <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: <a href=""></a></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 (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.

Cara Mengecek Squid Proxy Melalui Telnet
Tagged on:     

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>