worktimer / autovpn-for-openwrt Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/autovpn-for-openwrt
Automatically exported from code.google.com/p/autovpn-for-openwrt
我在家里部署了一台Openwrt路由器,按照你的说明,Success.
然后,当我准备在 Office 部署另外一台Openwrt时,我将
id_rsa.pub 中的密钥手工复制到服务端 authorized_keys 中,
但不幸的是,我无法翻墙成功。
你的文档其中的步骤在此:生成密钥对并上传至服务器
. /etc/autovpn.conf
mkdir /root/.ssh
dropbearkey -t rsa -s 1024 -f $SSH_KEY|grep -v "Public key portion
is:\|Fingerprint" >$SSH_KEY_PUB
cat /root/.ssh/id_rsa.pub |ssh -p $SSH_PORT root@$SSH_SERVER "mkdir ~/.ssh;cat
>>~/.ssh/authorized_keys"
我想问的是,请问如何将新的路由器中的 id_rsa.pub
密钥添加到VPN 服务端?
Original issue reported on code.google.com by [email protected]
on 3 Jun 2014 at 5:48
What steps will reproduce the problem?
1.
例如rhcloud.com,这个域名的子域名都是vpn的,但我想让*-abcd.rh
cloud.com它直连,有什么办法吗?
2.
/etc/config/dhcp这个文件,我每次在路由器中修改网络相关的设�
��,路由器自己会重新生成内容,这样添加的域名列表都要重
新加一次了,不知dnsmasq相关的内容能否放到另一个文件,例�
��/etc/dnsmasq.conf或创建一个?
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by titanium98118
on 9 Jan 2014 at 1:53
1. 我在家里配了一台,利用 ADSL,手机及PC皆能完美翻墙。
2.
在办公室的一台,一直以来也可完美翻墙,但近几天突然出��
�:手机可无缝翻墙,但PC却不行。
请教下,什么问题呢?
Original issue reported on code.google.com by [email protected]
on 14 Jul 2014 at 2:15
使用openvz的vps作为ssh服务器,pvpn连接过程出现 pppd failed exit 10
环境如下:
VPS:
Linux 2.6.32-042stab084.17 #1 SMP Fri Dec 27 17:10:20 MSK 2013 i686 i686 i386
GNU/Linux
已经开启支持 ppp和tun
路由器型号 HuaWei HG255D
CPU型号 Ralink RT3052 id:1 rev:3
cpu model MIPS 24Kc V4.12
CPU主频 384MHz
闪存容量 16M
固件版本 OpenWrt-DreamBox 20120828【trunk+svn】
核心版本 2.6.32.59
本地时间 Fri Mar 7 14:01:45 2014
运行时间 0h 21m 40s
平均负载 0.08, 0.02, 0.01
请问,是否支持openvz的vps作为ssh服务器中转。
Original issue reported on code.google.com by [email protected]
on 7 Mar 2014 at 2:55
谢谢你的资源。
如你所说,目前 autovpn-for-openwrt 的All_in_one
安装方式仅支持ar71xx系列的openwrt路由器.
那么,我的问题是:
http://wiki.openwrt.org/toh/start 官网已列明 Openwrt
所有支持和准备支持的路由器型号,但该页面Target(s)列及Platf
orm列都有ar71xx字样,我需要看Target(s)及Platform
两列中的哪一列?
谢谢。
Original issue reported on code.google.com by [email protected]
on 15 Feb 2014 at 7:48
部署过网上所有的openwrt翻墙方案,你这个动态维护路由表实�
��性是最好的。十分感谢
如果不是部署麻烦了点,完全可以比dd的autoddvpn更有名
我想指出的是"pptp没有自动添加路由的方法"这个说法是有误��
�,任何拨号连接后是可以调用
/etc/ppp/ip-up.d目录下的脚本的,只需要判断一下dev设备
也可以跟openvpn一样自动加路由。
我用过pptp openvpn
pvpn,确实pvpn是效果最好的,真奇怪vpn不该输给ssh。。。
另外想问下什么办法可以监控/autovpn/vpn.conf中的文件修改后自
动reset dnsmasq
Original issue reported on code.google.com by [email protected]
on 23 Apr 2014 at 4:20
感谢你提供autovpn-for-openwrt, 真心喜欢。
我注意到"全手动部署"中有如下文字:
如果您使用的是 openwrt Attitude Adjustment (12.09 final)
,并且路由器CPU是ar71xx系列的,那么直接在本项目trunk目录中
下载dnsmasq_patched_2.66-3_ar71xx.ipk,进行安装。
我的问题是,如果我采用 All_in_one
集成包安装方式的话,我需要留意以上文字么?
换句话说,如果我的openwrt版本如果不是 openwrt Attitude
Adjustment (12.09
final),而CPU也不是ar71xx系列的话,我是不是需要另行编译ipk?
谢谢。
Original issue reported on code.google.com by [email protected]
on 15 Feb 2014 at 6:20
Intel
D525的双核1.8Ghz,启用了双核Openwrt处理,当连接数达到10000左�
��时,dnsmasq响应就比较慢,需要几秒中的时间回应dns请求。��
�想请问,我在dnsmasq官网看了这是一款小型dns服务器,是否有
其他性能更好的dns方案可以替换dnsmasq?
Original issue reported on code.google.com by [email protected]
on 20 Nov 2014 at 3:14
环境如下:
主机名 DreamBox
路由器型号 HuaWei HG255D
CPU型号 Ralink RT3052 id:1 rev:3
cpu model MIPS 24Kc V4.12
CPU主频 384MHz
闪存容量 16M
固件版本 OpenWrt-DreamBox 20120828【trunk+svn】
核心版本 2.6.32.59
本地时间 Fri Mar 7 14:01:45 2014
运行时间 0h 21m 40s
平均负载 0.08, 0.02, 0.01
安装dnsmasq以后无法开启53端口,也无法自动获取ip。
重新编译以后安装正常。花了我3天时间去编译。
已经上传到附件,提供给需要的朋友,让大家少走弯路。
另外pvpn有个bug导致无法正常拨号,vi /usr/bin/pvpn
在connect_ppp() 函数里,第139行
client_device=`ifconfig |grep -e "tun[0-9]\|pvpn"|cut -d' ' -f 1 >$tempfile ;
和 i=50 ; 之间加入以下内容
if [ ! -s $tempfile ] ;then echo "pvpn0">$tempfile; fi;
也可以用附近里的直接替换 /usr/bin/pvpn
Original issue reported on code.google.com by [email protected]
on 7 Mar 2014 at 2:35
Attachments:
What steps will reproduce the problem?
1.
将openwrt的truk/dl目录下的dnsmasq文件解压后打上dnsmasq.patch,然�
��打包回去。
2. 重新make ,在路由器上配置文件按照说明配置好
3.
访问处于名单内的域名,再查看路由表发现没有加入相应的��
�由表
What is the expected output? What do you see instead?
曾尝试在server_script
'/usr/bin/routeadd.sh'的脚本里加入调试输出,发现根本就没有运�
��此脚本程序
What version of the product are you using? On what operating system?
固件OpenWrt Barrier Breaker r38408 / LuCI Trunk (svn-r9924)
Please provide any additional information below.
按照说明,在/etc/config/dhcp.conf 添加若干选项,然后
发觉dnsmasq用的是系统自动生成的/var/etc/dnsmasq.conf
,如果直接写到dnsmasq的配置文件应该如何写?
Original issue reported on code.google.com by [email protected]
on 21 Oct 2013 at 7:22
What steps will reproduce the problem?
1. http://www.microsoft.com/search.aspx?邪恶
2. http://www.sina.com/search?q=邪恶
3. http://www.amazon.com/search/邪恶
What is the expected output? What do you see instead?
希望不会撞墙, 但是除非所有国外ip都走vpn,
否则没有办法保证不撞墙
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 13 Nov 2013 at 5:57
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.