tomato VPN 设置
- font size decrease font size increase font size
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,搞定。
Last modified onSaturday, 05 January 2013 13:21
( ! ) 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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0004 | 414216 | {main}( ) | .../index.php:0 |
2 | 0.1099 | 4272896 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.1099 | 4272896 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.3197 | 11395288 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.3202 | 11419312 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.3209 | 11474640 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.3212 | 11501608 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.3316 | 11898096 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.3316 | 11898096 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.3458 | 12542504 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.3458 | 12542504 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.3520 | 12909560 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.3549 | 12929928 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.4428 | 15693544 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.4428 | 15693544 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.4468 | 15865848 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |
- Published in 路由
- Read 5367 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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0004 | 414216 | {main}( ) | .../index.php:0 |
2 | 0.1099 | 4272896 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.1099 | 4272896 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.3197 | 11395288 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.3202 | 11419312 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.3209 | 11474640 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.3212 | 11501608 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.3316 | 11898096 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.3316 | 11898096 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.3458 | 12542504 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.3458 | 12542504 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.3520 | 12909560 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.3549 | 12929928 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.4428 | 15693544 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.4428 | 15693544 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.4468 | 15865848 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |