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.0003413600{main}( ).../index.php:0
20.09894272264Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.09894272264Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.343711394848Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.344211419288Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.345011474616Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.345311501584require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.354111898072K2ControllerItem->execute( ).../k2.php:64
90.354111898072K2ControllerItem->display( ).../BaseController.php:710
100.363312542480K2ControllerItem->display( ).../item.php:78
110.363312542480K2ControllerItem->display( ).../controller.php:19
120.368712909536Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.375112929904K2ViewItem->display( ).../ViewController.php:102
140.460415689264K2ViewItem->display( ).../view.html.php:742
150.460415689264K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.463415861568include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in Openvpn
  • Read 4204 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.0003413600{main}( ).../index.php:0
20.09894272264Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.09894272264Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.343711394848Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.344211419288Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.345011474616Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.345311501584require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.354111898072K2ControllerItem->execute( ).../k2.php:64
90.354111898072K2ControllerItem->display( ).../BaseController.php:710
100.363312542480K2ControllerItem->display( ).../item.php:78
110.363312542480K2ControllerItem->display( ).../controller.php:19
120.368712909536Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.375112929904K2ViewItem->display( ).../ViewController.php:102
140.460415689264K2ViewItem->display( ).../view.html.php:742
150.460415689264K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.463415861568include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top