Switch to full style
Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems
Post a reply

Filter and criterion

Apr 11 04 5:58 am

I have a question about the subject above.
I have the guest account enabled in NAT, but only for port 411.This is accomplished by adding a rule on guest.In advanced tab, I set the rule with the following criterion "server port number equals xxx" , where xxx is the port number.
This is working.But the problem is:
If I want to add another criterion in the same Rule, it will not work anymore.I have to add another rule for each criterion.
My question is: this is the only way to do this?Is this the right way?
I ask because in my "caching" tab I have a set of criterions but all under only one rule.The rule is what to purge and what not.
for example:
Rule 1: (what to purge)
* NOT url contains microsoft
* NOT url contains update
* NOT url contains windows
* URL contains porno
* URL contains sex
* URL contains .ro
* cache file size less the 1024

In this case, if the rules and criterions works in the same way for services like NAT and cacheing, not all the criterions will be applied.

How is better to set criterions?Each one within a rule?

Thank you very much for your time and hope for answers soon.

God speed

Apr 11 04 10:40 am

I have a similar questions about that. I'm trying to set the cache filters.

I did set the "what to cache" to http url -ends with- and i set each extention i wanted to cache. However no matter what i did, it would not cache a damn thing. I had 1 criteion per extention, i.e. jpg.

Later i set to cache everything and that was working. Now i have it set for cache everything but http url begin with https.

Can someone explain what filters i need to set just to get wingate to cache only the extentions i want, mainly i just want wingate to cache pictures.
Post a reply