Name Last Update Last Commit     84d77e0ec29 – add files history
File_dir LookingGlass Loading commit data... Ajax_loader_tree
File_dir assets Loading commit data... Ajax_loader_tree
File_txt CHANGELOG.txt Loading commit data... Ajax_loader_tree
File_txt LICENCE.txt Loading commit data... Ajax_loader_tree
File_txt Loading commit data... Ajax_loader_tree
File_txt ajax.php Loading commit data... Ajax_loader_tree
File_txt index.php Loading commit data... Ajax_loader_tree



LookingGlass is a user-friendly PHP based looking glass that allows the public (via a web interface) to execute network
commands on behalf of your server.



The demo is hosted on a 50MB (RAM) VPS. 502 errors may occur in events of high use.


  • Automated install via bash script
  • IPv4 & IPv6 support
  • Live output via long polling
  • Multiple themes
  • Rate limiting of network commands

Implemented commands

  • host
  • mtr
  • mtr6 (IPv6)
  • ping
  • ping6 (IPv6)
  • traceroute
  • traceroute6 (IPv6)

IPv6 commands will only work if your server has external IPv6 setup (or tunneled)


  • PHP >= 5.3
  • SSH/Terminal access (able to install commands/functions if non-existent)


  1. Download LookingGlass to the intended folder within your web directory (and unzip)
  2. Navigate to the LookingGlass subdirectory in terminal
  3. Run bash
  4. Follow the instructions and will take care of the rest

Forgot a setting? Simply run the script again


To enable output buffering on Nginx, please append the following to your PHP configuration:

location ~ \.php$ {

    # Append the following
    fastcgi_buffer_size   1k;
    fastcgi_buffers       128 1k;
    fastcgi_max_temp_file_size 0;
    gzip off;

I recommend that you create a separate host file for LookingGlass OR a directory specific PHP "location". This is due
to these settings not being optimal for conventional use.


Code is licensed under MIT Public License.

  • If you wish to support my efforts, keep the "Powered by LookingGlass" link intact.