路由 (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.0009403432{main}( ).../index.php:0
20.05601321008Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.05601321008Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.19352978264Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.19413002624Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.19483057952Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.19493075008require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.19983141760K2ControllerItemlist->execute( ).../k2.php:64
90.19983141760K2ControllerItemlist->display( ).../BaseController.php:710
100.20323230848K2ControllerItemlist->display( ).../itemlist.php:49
110.20323230848K2ControllerItemlist->display( ).../controller.php:19
120.20443249744Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.20723270480K2ViewItemlist->display( ).../ViewController.php:102
140.27093703984K2ViewItemlist->display( ).../view.html.php:1407
150.27093703984K2ViewItemlist->loadTemplate( ).../HtmlView.php:230
160.27313774104include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/category.php' ).../HtmlView.php:701