为iptables规则添加注释

iptables规则太多了,使用comment模块给iptables规则加上注释
-A RH-Firewall-1-INPUT -i ppp+ -m comment –comment “Allow VPN clients connect any ports” -j ACCEPT

Last modified onFriday, 20 September 2013 12:25

( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
Call Stack
#TimeMemoryFunctionLocation
10.0004412032{main}( ).../index.php:0
20.09644262144Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.09644262144Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.492611453016Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.493811477456Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.494811532784Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.495111560184require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.506711959816K2ControllerItem->execute( ).../k2.php:64
90.506711959816K2ControllerItem->display( ).../BaseController.php:710
100.520912610520K2ControllerItem->display( ).../item.php:78
110.520912610520K2ControllerItem->display( ).../controller.php:19
120.527012981560Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.529613001928K2ViewItem->display( ).../ViewController.php:102
140.650915808768K2ViewItem->display( ).../view.html.php:742
150.650915808768K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.654515981704include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701

( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Call Stack
#TimeMemoryFunctionLocation
10.0004412032{main}( ).../index.php:0
20.09644262144Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.09644262144Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.492611453016Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.493811477456Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.494811532784Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.495111560184require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.506711959816K2ControllerItem->execute( ).../k2.php:64
90.506711959816K2ControllerItem->display( ).../BaseController.php:710
100.520912610520K2ControllerItem->display( ).../item.php:78
110.520912610520K2ControllerItem->display( ).../controller.php:19
120.527012981560Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.529613001928K2ViewItem->display( ).../ViewController.php:102
140.650915808768K2ViewItem->display( ).../view.html.php:742
150.650915808768K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.654515981704include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top