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

remote_allow_ranges: allow inside CIDR specific remote_allow_lists #540

Merged
merged 3 commits into from
Oct 19, 2021

Conversation

wadey
Copy link
Member

@wadey wadey commented Sep 27, 2021

This allows you to configure remote allow lists specific to different
subnets of the inside CIDR. Example:

remote_allow_ranges:
  10.42.42.0/24:
    192.168.0.0/16: true

This would only allow hosts with a VPN IP in the 10.42.42.0/24 range to
have private IPs (and thus don't connect over public IPs).

The PR also refactors AllowList into RemoteAllowList and LocalAllowList to make it clearer which methods are allowed on which allow list.

This allows you to configure remote allow lists specific to different
subnets of the inside CIDR. Example:

    remote_allow_list:
      inside:
        10.42.42.0/24:
          192.168.0.0/16: true

This would only allow hosts with a VPN IP in the 10.42.42.0/24 range to
have private IPs (and thus don't connect over public IPs).
@wadey wadey added this to the v1.5.0 milestone Sep 27, 2021
@wadey wadey changed the title remote_allow_list: allow inside config remote_allow_ranges: allow inside CIDR specific remote_allow_lists Sep 28, 2021
@wadey wadey merged commit ea2c186 into master Oct 19, 2021
@wadey wadey deleted the inside-remote-allow-list branch October 19, 2021 14:54
wadey added a commit that referenced this pull request Oct 19, 2021
- #532
- #540
- #541

Also fix some whitespace
wadey added a commit that referenced this pull request Oct 19, 2021
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

Successfully merging this pull request may close these issues.

2 participants