How to Hide a Hostname on Squid

104 30
    • 1). Log in to the Linux computer running the Squid proxy daemon.

    • 2). Open a new terminal window. Each distribution is different in this approach, so consult your system's documentation for information on how to open a terminal window.

    • 3). Type "sudo nano /etc/squid/squid.conf" without quotation marks.

    • 4). Enter your system's root password when prompted.

    • 5). Add the following on its own line somewhere in your configuration file, such as the very top or the very bottom:

      visible_hostname hostnametosupply.net.

    • 6). Replace "hostnametosupply.net" with a non-specific description of your server. This information will be furnished instead of your actual server's hostname.

    • 7). Press "Ctrl"+"O" and then press "Y" to save your document. Press "Ctrl"+"X" to exit nano, and press "Y" again to confirm the action.

    • 8). Type "sudo /etc/init.d/squid restart" without quotation marks and press "Enter." Supply your root password if prompted. Squid will now apply your new settings.

Source...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.