为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.0001402880{main}( ).../index.php:0
20.05431320632Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.05431320632Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.17572978776Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.17623003296Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.17693058624Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.17703075680require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.18223219768K2ControllerItem->execute( ).../k2.php:64
90.18223219768K2ControllerItem->display( ).../BaseController.php:710
100.18693488848K2ControllerItem->display( ).../item.php:78
110.18693488848K2ControllerItem->display( ).../controller.php:19
120.18803507368Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.18953527784K2ViewItem->display( ).../ViewController.php:102
140.23174053016K2ViewItem->display( ).../view.html.php:742
150.23174053016K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.23374227416include( '/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.0001402880{main}( ).../index.php:0
20.05431320632Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.05431320632Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.17572978776Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.17623003296Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.17693058624Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.17703075680require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.18223219768K2ControllerItem->execute( ).../k2.php:64
90.18223219768K2ControllerItem->display( ).../BaseController.php:710
100.18693488848K2ControllerItem->display( ).../item.php:78
110.18693488848K2ControllerItem->display( ).../controller.php:19
120.18803507368Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.18953527784K2ViewItem->display( ).../ViewController.php:102
140.23174053016K2ViewItem->display( ).../view.html.php:742
150.23174053016K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.23374227416include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top