Installing Webmin from the repository has several advantages: 1) you are installing from a trusted source, 2) you will be notified of updates, and 3) keeping your Webmin up-to-date is much easier. To add the respository to your sources list, edit /etc/apt/sources.list:
sudo nano /etc/apt/sources.list
Add the following lines at the end of the file:
deb http://download.webmin.com/download/repository sarge contrib deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
Then, you will have to install the GPG key to access the repository. Use the following commands to achieve this:
wget http://www.webmin.com/jcameron-key.asc sudo apt-key add jcameron-key.asc
Finally, update your packages list and install webmin:
sudo apt-get update sudo apt-get install webmin
In case you have missing dependencies, they should be resolved automatically.
Webmin runs on port 10000 by default. So you can access the Webmin interface by going to:
http://localhost:10000
If your Webmin server is on your internal network, you can also access it through its network IP address (see example below):
http://192.168.0.20:10000
If you have port forwarding enabled on your router and you have a domain name referring to your server running Webmin, you may also access it through the internet using your domain name:
http://domain.com:10000
Install Squid and configure Proxy server.
[1]
This is common forward proxy settings.
root@prox:~#
aptitude -y install squid3
root@prox:~#
vi /etc/squid3/squid.conf
acl CONNECT method CONNECT
# line 919: add (define ACL for internal)
acl lan src 10.0.0.0/24
http_access allow localhost
# line 1058: add (set ACL for internal)
http_access allow lan
# line 1460: change
http_port
8080
# line 4445: add follows
request_header_access Referer deny all
request_header_access X-Forwarded-For deny all
request_header_access Via deny all
request_header_access Cache-Control deny all
# line 4761: add (define hostname)
visible_hostname prox.server.world
# forwarded_for on
# line 6869: add (hide IP address)
forwarded_for off
root@prox:~#
initctl restart squid3
squid3 start/running, process 1462