Skip to content
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

建议增加 eth0 是否为公网接口的判断 #18

Closed
StarDuster opened this issue Mar 22, 2016 · 1 comment
Closed

建议增加 eth0 是否为公网接口的判断 #18

StarDuster opened this issue Mar 22, 2016 · 1 comment

Comments

@StarDuster
Copy link

举个栗子,阿里云 eth0 是内网 IP,默认 eth0 的话会产生可以 VPN 连接,但是没有公网的问题。
get_my_ip 的时候判断一下 eth0 IP 是不是私有网段,或者直接加个输入网卡接口名的步骤。

@quericy
Copy link
Owner

quericy commented Mar 23, 2016

OK,已加上选项~~

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

2 participants