I installed Webmin and it was working great until I installed DansGuardian & squid and then webmin stopped, if I try to log into webmin this is what am getting on Firefox. The proxy server is refusing connections Firefox is configured to use a proxy server that is refusing connections. May 12, 2016 Install webmin using the following command: sudo apt-get install webmin Allow the webmin default port “10000” via firewall, if you want to access the webmin console from a remote system. Sudo ufw allow 10000.
![]() ![]()
Dansguardian does an outstanding job of web content filtering to protect from rubbish on the internet. This howto is a synthesis of information taken from:. Edit. 25th November 2009 Please see final pages of this thread (Pages 13-14) for adaptions/updates to this howto for Ubuntu 9.10 (Karmic) and in particular issues with Karmic version of Dansguardian. Also a deb that is available to automate much of this.Setting up Dansguardian using Tinyproxy and Firehol on Ubuntu/Edubuntu1. Ensure 'universe repository' is activated and install packages:sudo apt-get updatesudo apt-get install dansguardian tinyproxy fireholNote: will probably need to reinstall dansguardian to overcome clamav config errors.2.
Edit: sudo gedit /etc/dansguardian/dansguardian.confa) Add comment (#) to:#UNCONFIGUREDb) Turn off virus checking (if not wanted):virusscan=offc) Check that the following are set:filterport = 8080proxyip = 127.0.0.1proxyport = 3128d) Save & exit.e) Run:sudo dpkg-reconfigure dansguardian3. Edit: sudo gedit /etc/firehol/firehol.confAdd all of the following at the start of the document:iptables -t filter -I OUTPUT -d 127.0.0.1 -p tcp -dport 3128 -m owner! -uid-owner dansguardian -j DROPtransparentsquid 8080 'root root'interface any worldpolicy dropprotection strongclient all acceptserver cups accept#server webcache acceptNote: will need to remove 'interface any world.' Further on in the document.Note: uncomment 'server webcache accept' if this dansguardian system is going to filter others on a network BUT do not then connect directly to the internet as this is opening it wide open for anyone to access!4.
Edit: sudo gedit /etc/default/fireholSTARTFIREHOL=YESThis is to allow restarting of the firewall.5. Edit sudo gedit /etc/tinyproxy/tinyproxy.confChange/add the following lines (by scrolling through the document):User rootGroup rootPort 3128ViaProxyName 'tinyproxy'6.
Restart each program:sudo /etc/init.d/tinyproxy restartsudo /etc/init.d/firehol restartsudo /etc/init.d/dansguardian restart7. Dansguardian should now be operational blocking objectional sites using any browser!. EDITED INFORMATION. I have edited this to include the use of these instructions for not only a single desktop but also for other systems (including Windows boxes) to point to such a configured box on a network and be filtered. Sorry that it is not working for you guys!
I'm afraid I don't really know what the issues are. It has worked for me on around 6 systems that I have set up. I have also done other enhancements - added lines to dansguardian configuration to block undesirable image searches and also locked firefox browser settings to stop use of secure proxy sites.Could you check that each of the three programs are running. In a terminal:ps auxfAlso you may like to look at this post where there is a similar approach with some different configuration:-Tony.
![]()
Glad that it is working!Here are some changes that I have made to filters etc. For searching images and also for stopping access to secure proxy sites.1.
![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |