This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Setting Proxy manually

Hi all,

I'm a new user of Astaro, and I want to configure the proxy settings of astaro, it is said that astaro already get rid squid, well it's too bad, since I only understand how to donfigure squid as proxy.

So what I want to ask is there any file that I can configure like squid.conf in astaro 7.102 so that I can make a list of site that are blocked by using regex or something, or how about to make some segregation access of internet.

Best Regards,


Lambertus SW


This thread was automatically locked due to age.
  • You can setup profiles in the Content Filter settings, and filter or allow sites for each profile.

    Barry
  • Hi,

    Thanks for the reply, I know that I can use content filtering with some some categories, but what if I want to add my own categories or add some web in some categories FYI since I live in Indonesia I still have extra lists of websites that need to be blocked, it will be tiring if I have to input one by one in http filter, since I have to make some segregation of internet access in different VLAN.

    Anyway I want to know if I input for example yahoo to blocked sites in filter, is this going to apply to mail.yahoo.com or yahoo.co.uk, I mean can it works like the one in squid (with regex and such)? can it use wild char like * ?

    PS.
    I notice that astaro is using mysql as database, so I wonder if the database for blacklist list is in there, cause I've been searching for whole day long and no results [:P]. If astaro using mysql then how to access it? The reason I want to do it manually beacause I want to add my own phrase list and so on.
  • IIRC, putting in yahoo.com will block mail.yahoo.com but not yahoo.co.uk. It's been awhile since I've played with it though, so you should test to be sure.

    Logging into the shell as root, and running 'mysql' will get you the mysql shell.
    You could probably tunnel the MySQL port into Astaro through SSH to get access to MySQL from your PC.
    Don't forget to do a backup before you start.

    Barry
  • Hi, 

    I see what you mean, So in my plan I still have to enable web filtering content, since I cannot block yahoo sites with just yahoo.com or I will end up dying inputting so many urls, so I want to make yahoo as a one of phrase in uncategorized category in web filtering categories (and of course my local country sites that need to be blocked).

    So in the articles that is provided by astaro it is said that asg is using cobion with the database in internet as the database for content filtering, and you told me that i can access mysql, is there any content filtering that related with mysql, and I want to know the name of the database and the table that has the list for phrase filtering if it really existed.

    Anyway if it cannot be done, I'm planning to use squid again. Do you know how to use squid in asg 7?
  • Squid is gone in recent versions of the 7.x series. There is no practical way to bring it back, other than using the 6.x series.
    Of course, you could run Squid on another machine. (I do, for historical reasons, nothing to do with Astaro. I also use AdZap for Squid, fwiw.)

    I don't think cobion is being used in 7.x anymore.

    I don't know which MySQL tables are used for the content filter; I haven't dug into it, nor do I need to.

    Barry
  • Hi Barry,

    Owh...too bad...Ok then thank you for your help, I wish that I set the machine for American or some western nation so that I don't have to add extra settings in content filtering, like you do...anyway thanks.

    Is there anybody who can access mysql for content filtering in ASG 7, like what is the name of the database or the table that we can access?