openvz vps 可以添加tap\tun?

67 views
Skip to first unread message

Mm Xin

unread,
Feb 24, 2014, 3:42:25 AM2/24/14
to ustc...@googlegroups.com

Bojie Li

unread,
Feb 24, 2014, 3:52:06 AM2/24/14
to USTC_LUG

首先,freeshell 上为什么需要开 openvpn?如果只是想用 freeshell 做代理的话,socks5 就够了。如果你觉得 socks 代理不是全局的,可以在客户端上用 redsocks,使用 iptables 精细控制或全局代理。

其次,支持 tun/tap 需要虚拟机有 net_admin capability,这可能有安全风险。

2014-2-24 下午4:42于 "Mm Xin" <shilis...@gmail.com>写道:

--
-- 来自USTC LUG
请使用gmail订阅,不要灌水。
更多信息more info:http://groups.google.com/group/ustc_lug?hl=en?hl=en
 
---
You received this message because you are subscribed to the Google Groups "USTC_LUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ustc_lug+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Mm Xin

unread,
Feb 24, 2014, 3:59:35 AM2/24/14
to ustc...@googlegroups.com
好吧,ppp能不能有,我只是想搞个给手机用。

在 2014年2月24日星期一UTC+8下午4时52分06秒,Bojie Li写道:

Xilin Sun

unread,
Feb 24, 2014, 7:11:49 AM2/24/14
to 科大LUG
2014-02-24 16:59 GMT+08:00 Mm Xin <shilis...@gmail.com>:
> 好吧,ppp能不能有,我只是想搞个给手机用。


如果你只是想偶尔在手机上用一下代理,那么用一台电脑来协助手机上网,参考
https://wk.dxtl.net/dokuwiki/doku.php/wp8/goagent
如果你想经常在手机上用代理,那么不妨换一台真正的智能手机。

--
Xilin SUN
Department of Mechanical Engineering
The Hong Kong Polytechnic University
Tel: +852 9140 6662
About me: http://about.me/sxl

Bojie Li

unread,
Feb 24, 2014, 7:44:30 AM2/24/14
to USTC_LUG
现在 freeshell 支持 PPP 了,试试吧。注意需要重启。
https://servers.blog.ustc.edu.cn/index.php/2014/02/freeshell-supports-ppp/


2014-02-24 16:59 GMT+08:00 Mm Xin <shilis...@gmail.com>:

Mm Xin

unread,
Feb 24, 2014, 8:17:56 AM2/24/14
to ustc...@googlegroups.com
感激不尽,可以自己搭vpn了。


You received this message because you are subscribed to a topic in the Google Groups "USTC_LUG" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ustc_lug/LpUpmMxZCRg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ustc_lug+u...@googlegroups.com.

Zuyi Hu

unread,
Feb 24, 2014, 11:43:34 AM2/24/14
to ustc...@googlegroups.com
为什么我看到有这样说的:"首先需要一台独立服务器或者Xen VPS的Root权限;OpenVZ没戏,就别折腾了。",请问如何你们是怎样搭建vpn的

在 14/2/24,Mm Xin<shilis...@gmail.com> 写道:

Bojie Li

unread,
Feb 24, 2014, 11:47:29 AM2/24/14
to USTC_LUG

做法就在楼主给的链接里啊。

Zuyi Hu

unread,
Feb 24, 2014, 12:01:42 PM2/24/14
to ustc...@googlegroups.com
# modprobe tun
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not
open moddep file '/lib/modules/2.6.32-5-openvz-amd64/modules.dep.bin'

怎么是这样?

在 14/2/25,Bojie Li<boj...@gmail.com> 写道:

Bojie Li

unread,
Feb 24, 2014, 12:39:53 PM2/24/14
to USTC_LUG

我只说了支持 ppp,没说支持 tun 啊…… tun/tap 目前不支持。

Mm Xin

unread,
Feb 24, 2014, 11:21:36 PM2/24/14
to ustc...@googlegroups.com


在 2014年2月24日星期一UTC+8下午8时11分49秒,孙锡麟写道:
2014-02-24 16:59 GMT+08:00 Mm Xin <shilis...@gmail.com>:
> 好吧,ppp能不能有,我只是想搞个给手机用。

代理太弱,当然没vpn好用,我已经搭过代理了。

Bojie Li

unread,
Feb 25, 2014, 1:22:01 AM2/25/14
to USTC_LUG

代理太弱?你整天需要用什么奇怪的协议?tcp 和 udp,socks5 代理应该都搞定了吧。有个开源项目 fqrouter http://fqrouter.com/ 可用于 Android (不需 root) 和 openwrt,你可以看看人家是怎么实现的。

--
Reply all
Reply to author
Forward
0 new messages