Proxy Filter


You should use the proxy filter so that your server is not opened for a public access.

Formal Syntax:

filters = *(filteritem CRLF)  
filteritem = (defaultfilter / filter)  
defaultfilter = filteraction  
filteraction = ("0" / "1")  
filter = [filteraction ":"] [regex] filtervalue  
filtervalue = (hostname / ipaddress / port)  
port = ":" 1*DIGIT  
regex = "^"  
Each filter line can be an URL, Hostname IP mask or port.
IP address is the source IP of the proxy client not the destination IP address.

A similar logics as for black & white filters can be applied. You can specify the default area (0, 1) and explicit override values (0:, 1:).

 

Example:

1
192.168.0.1
www.icewarp.com
0
1:192.168.0.2
192.168.0.*
This will accept the first IP address and www.icewarp.com as the destination host and will reject the others except the 192.168.0.2

A special logic is applied - if IPs or ports are allowed the following URLs and Hostnames are checked anyway. This means that URLs and Hostnames are more important than IPs and ports and always override.

You can also use the RegEx for URLs and Hostnames. Simply add the "^" at the beginning of the filter.

Note that URLs always have to contain ":"

 

Example:

1
192.168.0.1
172.16.10.0/24
mail.icewarp.com
:80
0
1:192.168.0.2
192.168.0.*
:32000