8000 为什么会提示“ open_tun() failed: Permission denied.”? · Issue #9 · rssnsj/minivtun · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

为什么会提示“ open_tun() failed: Permi 8000 ssion denied.”? #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
luckypoem opened this issue Oct 30, 2016 · 4 comments
Open

Comments

@luckypoem
Copy link

hi.

我的mac装了tuntaposx,
yudeMacBook-Air:src brite$ ls -l /dev/|grep tun
crw-rw---- 1 root wheel 19, 0 10 28 14:38 tun0
crw-rw---- 1 root wheel 19, 1 10 28 14:38 tun1
crw-rw---- 1 root wheel 19, 10 10 28 14:38 tun10
crw-rw---- 1 root wheel 19, 11 10 28 14:38 tun11
crw-rw---- 1 root wheel 19, 12 10 28 14:38 tun12
crw-rw---- 1 root wheel 19, 13 10 28 14:38 tun13
crw-rw---- 1 root wheel 19, 14 10 28 14:38 tun14
crw-rw---- 1 root wheel 19, 15 10 28 14:38 tun15
crw-rw---- 1 root wheel 19, 2 10 28 14:38 tun2
crw-rw---- 1 root wheel 19, 3 10 28 14:38 tun3
crw-rw---- 1 root wheel 19, 4 10 28 14:38 tun4
crw-rw---- 1 root wheel 19, 5 10 28 14:38 tun5
crw-rw---- 1 root wheel 19, 6 10 28 14:38 tun6
crw-rw---- 1 root wheel 19, 7 10 28 14:38 tun7
crw-rw---- 1 root wheel 19, 8 10 28 14:38 tun8
crw-rw---- 1 root wheel 19, 9 10 28 14:38 tun9
yudeMacBook-Air:src brite$

但是,
yudeMacBook-Air:src brite$ ./minivtun --remote my_vps_ip:1414 -a 10.7.0.33/24 --key my_key --daemon
*** open_tun() failed: Permission denied.

为什么会提示“ open_tun() failed: Permission denied.”?

@luckypoem
Copy link
Author

哦,我知道了。
yudeMacBook-Air:src brite$ sudo ./minivtun --remote my_vps_ip:1414 -a 10.7.0.33/24 --key my_key --daemon
Password:
Mini virtual tunnelling client to my_vps_ip:1414, interface: tun0.
yudeMacBook-Air:src brite$

服务器上运行正常。不过翻不了墙,访问显示ip的网站,显示的是本地的ip,怎么回事呢?

@rssnsj
Copy link
Owner
rssnsj commented Nov 10, 2016

没说这玩意儿连上就能翻墙呀。

Sent from my iPhone

On Oct 30, 2016, at 15:44, luckypoem notifications@github.com wrote:

哦,我知道了。
yudeMacBook-Air:src brite$ sudo ./minivtun --remote my_vps_ip:1414 -a 10.7.0.33/24 --key my_key --daemon
Password:
Mini virtual tunnelling client to my_vps_ip:1414, interface: tun0.
yudeMacBook-Air:src brite$

服务器上运行正常。不过翻不了墙,访问显示ip的网站,显示的是本地的ip,怎么回事呢?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@luckypoem
Copy link
Author

那么连上后,还要如何做,才能翻墙呢?

@tony1016
Copy link

@luckypoem 修改路由表,把流量导入TUN??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0