liuhk388
V2EX  ›  Android

求指导 Android 上 OpenVPN 配置

  •  
  •   liuhk388 · Aug 16, 2012 · 16047 views
    This topic created in 5205 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
    ggkind
    Aug 17, 2012
    1
    現在安桌系統也可不用 rooting 也可用上這免費 頂尖加密隧道擊穿GFW 牆

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