为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.0008403192{main}( ).../index.php:0
20.06261463864Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.06261463864Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.43589027424Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.43659051944Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.43779107272Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.43819135160require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.45009493984K2ControllerItem->execute( ).../k2.php:64
90.45019493984K2ControllerItem->display( ).../BaseController.php:710
100.463010260704K2ControllerItem->display( ).../item.php:78
110.463010260704K2ControllerItem->display( ).../controller.php:19
120.468010643552Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.469710663920K2ViewItem->display( ).../ViewController.php:102
140.549313524120K2ViewItem->display( ).../view.html.php:742
150.549313524120K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.551913701520include( '/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.0008403192{main}( ).../index.php:0
20.06261463864Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.06261463864Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.43589027424Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.43659051944Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.43779107272Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.43819135160require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.45009493984K2ControllerItem->execute( ).../k2.php:64
90.45019493984K2ControllerItem->display( ).../BaseController.php:710
100.463010260704K2ControllerItem->display( ).../item.php:78
110.463010260704K2ControllerItem->display( ).../controller.php:19
120.468010643552Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.469710663920K2ViewItem->display( ).../ViewController.php:102
140.549313524120K2ViewItem->display( ).../view.html.php:742
150.549313524120K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.551913701520include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top