[% SET CPANEL.CPVAR.dprefix = "../" %] [% IF FORM.itemsperpage %] [% SET CPANEL.CPVAR.itemsperpage = FORM.itemsperpage %] [% END %] [% IF (! FORM.itemsperpage || ! CPANEL.CPVAR.itemsperpage) %] [% SET CPANEL.CPVAR.itemsperpage = "10" %] [% END %] [% Api2.pre_exec("DenyIp", "listdenyips"); SET deny_ip_list = Api2.exec("DenyIp" , "listdenyips" , {"api2_paginate_size" =>CPANEL.CPVAR.itemsperpage.html(), "api2_paginate" =>"1" , "api2_paginate_start" =>RAW_FORM("api2_paginate_start" )}); Api2.post_exec("DenyIp", "listdenyips"); %] [% js_code = PROCESS js_block %] [% WRAPPER '_assets/master.html.tt' app_key = 'ip_blocker' page_js = js_code -%]
[% locale.maketext("This feature will allow you to block a range of IP addresses to prevent them from accessing your site. You can also enter a fully qualified domain name, and the IP Deny Manager will attempt to resolve it to an IP address for you.") %]
[% locale.maketext("[output,strong,Note]: You can specify denied IP addresses in the following formats:") %]
| [% locale.maketext("Server Setting") %] | [% locale.maketext("Beginning IP") %] | [% locale.maketext("Ending IP") %] | [% locale.maketext("Actions") %] |
|---|---|---|---|
| [% ip_info.ip.html() %] | [% ip_info.start.html() %] | [% ip_info.end.html() %] | [% locale.maketext('Delete') %] |
| [% locale.maketext("No IPs are being blocked.") %] | |||