Old 05-19-2009, 10:50 AM   #1 (permalink)
Untangler
 
Join Date: May 2009
Posts: 53
napa is on a distinguished road
Default How to Install All (Ntop, Webmin, PHPSysinfo, Imspector, Squid) on UT 6.1

I leave you beta scripts for installing all. I installed by hand every package in this way and my UT 6.1 is working with all!

This not use UT gui for all products if someone wants to get inside the same panel feel free to upgrade this cause I don't know how to modify untangle panel.

I make my own panel in php for this "addons"

Use it at your own risk, i recommend to run command by command some lines requires you to supervise them and edit files

I can't paste the scripts cause I have not a lot of posts here so I put the script in a file:

www . securitynation . com / fullinstaller

Squid instructions are posted in next page

Last edited by napa; 05-20-2009 at 12:52 PM.. Reason: Update
napa is offline  
Old 05-19-2009, 11:56 AM   #2 (permalink)
Untangle Ninja
 
mrunkel's Avatar
 
Join Date: Jul 2008
Posts: 2,770
mrunkel is on a distinguished road
Default

This is very nice.. I will warn that this will most likely prevent your box from upgrading properly and will void any support for the box.

You should probably turn auto-upgrade off if you do this.
__________________
m.


Big Frickin Disclaimer:
While I'm pretty sure, I can't guarantee that I know what I'm doing. There might be a better way to do this, and this way might actually suck. Make sure you understand the implications of what you're doing before trying to follow these directions.

It often helps troubleshooting if you have a good network map. Look here if you want my advice on how to draw one.
Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
If you need Untangle support please call or email support@untangle.com
mrunkel is offline  
Old 05-19-2009, 02:18 PM   #3 (permalink)
Untangler
 
Join Date: May 2009
Posts: 53
napa is on a distinguished road
Default Updates

I turn Autoupdate off of course, but when I decide to do this was not for my installations. 15 days ago my untangle get a update and I were out of office and stop working, when I check the box all interfaces changed without a notice, and DMZ rules get deleted, just for the upgrade from 6.0x to 6.1, so I reconfigure manually this. Also I take the time to hardening installing all apps, autoupdate works, but with or without this applications it could be a risk, so I prefer to install manually the updates.

I test it and updates work fine by now.
napa is offline  
Old 05-20-2009, 04:46 AM   #4 (permalink)
Master Untangler
 
jchaves3's Avatar
 
Join Date: Aug 2008
Location: Teresina,Brazil - Lake Forest, Ca USA
Posts: 100
jchaves3 is on a distinguished road
Default

I will give it a shot. I tried many times install Iminpector on 6.1 but it didn't work...Anyways, thanks!
jchaves3 is offline  
Old 05-20-2009, 04:52 AM   #5 (permalink)
Master Untangler
 
jchaves3's Avatar
 
Join Date: Aug 2008
Location: Teresina,Brazil - Lake Forest, Ca USA
Posts: 100
jchaves3 is on a distinguished road
Default Imspector

Well, I checked your script and I believe this is necessary after the installation...


Restore the original APT sources list

Code:

cp /etc/apt/sources.list.orig /etc/apt/sources.list
rm /etc/apt/sources.list.orig

So far, it is installed, but I can't bring it to Alpaca.
jchaves3 is offline  
Old 05-20-2009, 06:42 AM   #6 (permalink)
Untangler
 
Join Date: May 2009
Posts: 53
napa is on a distinguished road
Default Alpaca

Yes your rigth, i also can not make it works into alpaca, extjs is tricky for me, but anyway how i installed all and i have now PHP, I make my own alternate console for addons.

I'm working today with squid. (A lot of people post that is not usefull, but i like it, it makes my network a faster.)
napa is offline  
Old 05-20-2009, 08:51 AM   #7 (permalink)
Untangle Ninja
 
Join Date: Jul 2008
Posts: 1,081
lschafroth is on a distinguished road
Default

Quote:
Originally Posted by napa View Post
I'm working today with squid. (A lot of people post that is not usefull, but i like it, it makes my network a faster.)
they can post how it is not usefull all they want and they are wrong.
When you have 28 to 48 computers all accessing the same site at teh same time and even if the content is dynamic, it is the same content at that moment and it helps a TON.

Let me know how the proxy portion goes!

Lannie
lschafroth is offline  
Old 05-20-2009, 10:14 AM   #8 (permalink)
Master Untangler
 
jchaves3's Avatar
 
Join Date: Aug 2008
Location: Teresina,Brazil - Lake Forest, Ca USA
Posts: 100
jchaves3 is on a distinguished road
Default

That's true, the best thing I have done in my network was Install Untangle and Mikrotik for Squid Cache full, but I have 2 machines to do the work, have squid on UT would be great.
Anyways, I used your script but I got this error now when I run apt-get update:

E: Syntax error /etc/apt/apt.conf:3: Extra junk at end of file

Anyone have a quick help or solution?

Thanks!
jchaves3 is offline  
Old 05-20-2009, 11:22 AM   #9 (permalink)
Untangler
 
Join Date: May 2009
Posts: 53
napa is on a distinguished road
Default

ok, this is not script for run, please run every command by hand some commands are explained that must edit some file manually.

Give me the output for /etc/apt/apt.conf

you must have only:

APT::Cache-Limit 30000000;
APT::Cache-Limit 30000000;
napa is offline  
Old 05-20-2009, 11:31 AM   #10 (permalink)
Untangler
 
Join Date: May 2009
Posts: 53
napa is on a distinguished road
Default Imspector

I found that using Imspector bypass MSN for all users, so i only want to give access to some users, make the following:

#Blocking MSN

delete the first line from /etc/imspector/750-imspector
it must be:
${IPTABLES} -nat -A PREROUTING -p tcp --destination-port 1863 -j REDIRECT --to-ports 16667

1.- Block in Protocol Control MSN (all instances)
2.- In firewall Blocked port 1863
3.- In web Filter Blocked mime Type: application/x-msn-messenger

With this we block all msn users. and to give access to them i make this script (This script is ready to work)
you have to put it into /etc/imspector save it as msnscript


#msnscript
#!/bin/sh
read -p "Insert the IP Address for MSN: " IP
read -p "Username for identify the IP: " NAME
cp 750-imspector 750-imspector.bak
echo "#$NAME Messenger Access" >| 750-imspector.tmp
echo '${IPTABLES}'" -t -nat -A PREROUTING -p tcp -s $IP --destination-port 1863 -j REDIRECT --to-ports 16667" >> 750-imspector
cat 750-imspector.tmp 750-imspector.bak >| 750-imspector
rm 750-imspector.tmp
./disable
./enable



Then you just run ./msnscript for give msn access for some user, of course you will see any chat in there.
napa is offline  
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 10:07 AM.


© 2010 Untangle, Inc. All Rights Reserved.   SEO by vBSEO 3.6.0 PL2