pptp vpn 有些网站无法访问 problem mtu

在/etc/sysconfig/iptables打开端口1723,gre协议和设置MTU为1356

#在-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited前添加
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 1723 -j ACCEPT
-A RH-Firewall-1-INPUT -p gre -j ACCEPT

 -A RH-Firewall-1-INPUT -i ppp+ -j ACCEPT -I FORWARD -p tcp --syn -i ppp+ -j TCPMSS --set-mss 1356
Last modified onSunday, 14 October 2012 04:07

( ! ) 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.0004412944{main}( ).../index.php:0
20.07194263120Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.07194263120Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.252611454088Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.253511478592Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.254111533920Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.254411561320require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.261711960952K2ControllerItem->execute( ).../k2.php:64
90.261711960952K2ControllerItem->display( ).../BaseController.php:710
100.270312611656K2ControllerItem->display( ).../item.php:78
110.270312611656K2ControllerItem->display( ).../controller.php:19
120.274012982696Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.275213003064K2ViewItem->display( ).../ViewController.php:102
140.335015773120K2ViewItem->display( ).../view.html.php:742
150.335015773120K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.336415946056include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in VPN
  • Read 4009 times

( ! ) 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.0004412944{main}( ).../index.php:0
20.07194263120Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.07194263120Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.252611454088Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.253511478592Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.254111533920Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.254411561320require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.261711960952K2ControllerItem->execute( ).../k2.php:64
90.261711960952K2ControllerItem->display( ).../BaseController.php:710
100.270312611656K2ControllerItem->display( ).../item.php:78
110.270312611656K2ControllerItem->display( ).../controller.php:19
120.274012982696Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.275213003064K2ViewItem->display( ).../ViewController.php:102
140.335015773120K2ViewItem->display( ).../view.html.php:742
150.335015773120K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.336415946056include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top