V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
liuhk388
V2EX  ›  Android

求指导 Android 上 OpenVPN 配置

  •  
  •   liuhk388 · Aug 16, 2012 · 15121 views
    This topic created in 5012 days ago, the information mentioned may be changed or developed.
    Nexus 7 , Android 4.1.1 环境,我的步骤如下:

    用 Play 安装 OpenVPN Installer 与 OpenVPN Settings;
    sdcard 根目录新建 openvpn 文件夹(这步我是通过电脑直接操作的),放入配置文件。
    打开 OpenVPN Installer ,安装 Binary (选择 /system/xbin/busybox ifconfig )至 system/xbin/openvpn 。
    打开 OpenVPN Settings ,勾选 OpenVPN ;但此时试图勾选自己想用的 .ovpn 则始终无法勾上,除了界面下方提示 openvpn settings has been granted superuser permission for an interactive shell 之外无可用信息。

    已 Google 过没找到可用资源,有人能看出问题出在哪儿么?
    10 replies    1970-01-01 08:00:00 +08:00
    ggkind
        1
    ggkind  
       Aug 17, 2012
    現在安桌系統也可不用 rooting 也可用上這免費 頂尖加密隧道擊穿GFW 牆

    http://3forever.com
    meteor
        2
    meteor  
       Aug 21, 2012
    估计默认的Nexus 7没有root.
    如果想用VPN,建议先用PPTP和L2TP代替。
    或者root,再用OpenVPN。
    liuhk388
        3
    liuhk388  
    OP
       Aug 21, 2012
    @meteor 我 Root 过了…
    查看 Log 发现如下提示:
    linux ifconfig failed: could not execute external program
    正在尝试解决
    liuhk388
        4
    liuhk388  
    OP
       Aug 21, 2012
    解决了,问题在于用 OpenVPN Installer 安装 openvpn 时 ifconfig/route 的路径选择错误;
    需要选择 /system/bin/ifconfig ,如果选择其它路径,需要手动 ln -s 。
    meteor
        5
    meteor  
       Aug 21, 2012
    @liuhk388 哦。这个以前没见过。过几天给我的小米也试试,能不能装上OpenVPN的驱动。
    meteor
        6
    meteor  
       Oct 1, 2012
    @liuhk388 我的小米没有成功.
    安装到/system/xbin/ 和 /system/bin/ 都试过,没有成功.
    yappa
        7
    yappa  
       Oct 1, 2012
    @liuhk388 需要安装tun.ko吗?
    Alcar
        8
    Alcar  
       Oct 1, 2012
    我记得我先是busybox,然后openvpn installer,最后是settings...目录是/system/bin...记得不太清楚了...
    vven
        9
    vven  
       Oct 8, 2012   ❤️ 1
    iwinux
        10
    iwinux  
       Oct 9, 2012
    需要 busybox
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3468 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 60ms · UTC 11:16 · PVG 19:16 · LAX 04:16 · JFK 07:16
    ♥ Do have faith in what you're doing.