openvpn如何配置HTTP代理、断线重连和自动运行

在配置文件里面添加

http-proxy-retry # retry on connection failures

http-proxy [proxy server] [proxy port #]

自动运行则需要在注册表的启动项里面添加启动命令:d:\tools\openvpn\bin\openvpn.bat

其中openvpn.bat中

openvpn-gui-1.0.3 –connect client.ovpn


( ! ) 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.0025413608{main}( ).../index.php:0
20.22604264040Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.22604264040Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.716911455320Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.718811480016Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.722611535344Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.723911562744require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.744111962376K2ControllerItem->execute( ).../k2.php:64
90.744111962376K2ControllerItem->display( ).../BaseController.php:710
100.788512613080K2ControllerItem->display( ).../item.php:78
110.788512613080K2ControllerItem->display( ).../controller.php:19
120.797612984120Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.801213004488K2ViewItem->display( ).../ViewController.php:102
140.955615796256K2ViewItem->display( ).../view.html.php:742
150.955615796256K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.959415969192include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in Openvpn
  • Read 4208 times
More in this category: « 给openvpn客户分配固定ip

( ! ) 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.0025413608{main}( ).../index.php:0
20.22604264040Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.22604264040Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.716911455320Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.718811480016Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.722611535344Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.723911562744require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.744111962376K2ControllerItem->execute( ).../k2.php:64
90.744111962376K2ControllerItem->display( ).../BaseController.php:710
100.788512613080K2ControllerItem->display( ).../item.php:78
110.788512613080K2ControllerItem->display( ).../controller.php:19
120.797612984120Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.801213004488K2ViewItem->display( ).../ViewController.php:102
140.955615796256K2ViewItem->display( ).../view.html.php:742
150.955615796256K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.959415969192include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top