路由 (2)

tomato VPN 设置

1、为路由器刷好tomato的VPN版 2、下载vpn客户端软件openvpngui 3、安装了openvpnGUI后,在程序组中,选择Generate a static OpenVPN key 程序提示在C:\Program Files\OpenVPN\config生成key.txt文件。 4、在C:\Program Files\OpenVPN\config目录中新建一个vpn.ovpn文件,写入下面内容(红色部分是注释,不用写) dev tap0 secret key.txt proto udp remote ak1011.3322.org 1194 (ak1011.3322.org是路由器的动态域名,1194是端口,这个端口要和第5步所配置的端口一致) keepalive 10 60 resolv-retry infinite nobind persist-key persist-tun cipher BF-CBC comp-lzo verb 3 float 填写后,保存。 5、访问tomato管理界面,进入 VPN通道->服务器 ,点击服务器1,进行如下设置: 接口类型:TAP 协议: UDP 端口:1194 (这个端口和第4步配置的端口一致) 认证模式:静态密钥 加密密码:默认 压缩:使用 自定义设置:保留空,不用填 静态密钥:把C:\Program Files\OpenVPN\config\key.txt的文件内容填写进这里。 6,点击保存设置,点击立即启动。 7,右击openvpnGUI的图标,选择connect,搞定。
Read more...

( ! ) 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/category.php on line 191
Call Stack
#TimeMemoryFunctionLocation
10.0015403432{main}( ).../index.php:0
20.16951321008Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.16951321008Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.55222978224Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.55293002584Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.55623057912Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.55683074968require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.57333141720K2ControllerItemlist->execute( ).../k2.php:64
90.57333141720K2ControllerItemlist->display( ).../BaseController.php:710
100.58483230808K2ControllerItemlist->display( ).../itemlist.php:49
110.58483230808K2ControllerItemlist->display( ).../controller.php:19
120.58753249704Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.59043270440K2ViewItemlist->display( ).../ViewController.php:102
140.66673703944K2ViewItemlist->display( ).../view.html.php:1407
150.66673703944K2ViewItemlist->loadTemplate( ).../HtmlView.php:230
160.67003774064include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/category.php' ).../HtmlView.php:701