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

add whitelist for local-host ip #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mathetian
Copy link

现在的配置访问公司内网(10.0.x.x)不能,所以增加了 local-host ip 的白名单。

# add whitelist for local-host ip
local_ip = [ '10.0.0.0', '127.0.0.0', '172.0.0.0', '198.0.0.0']
local_mask = ['255.0.0.0', '255.0.0.0', '255.0.0.0', '255.0.0.0']
local_mask2 = [16777216, 16777216, 16777216, 16777216]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这 mask 不对吧?你这样做 GitHub 会不开心的。

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

哈哈哈,这个 mask 粒度有点粗啊

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

Successfully merging this pull request may close these issues.

4 participants