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

[Feature Request]: Add Additional CIDR Block for MQTT Private IP Scope #5766

Open
Xaositek opened this issue Jan 6, 2025 · 2 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Xaositek
Copy link

Xaositek commented Jan 6, 2025

Platform

NRF52, ESP32, RP2040, Linux Native, Cross-Platform, other

Description

In the current MQTT isPrivateIpAddress function, there are a set of Private IP ranges acceptable.

I would like to see the following IP range added: 100.64.0.0/10

This range is a private IP CGNAT pool dedicated to TailScale, these are still private IPs and non-internet routable.

TailScale Doc - https://tailscale.com/kb/1304/ip-pool

@Xaositek Xaositek added the enhancement New feature or request label Jan 6, 2025
@caveman99
Copy link
Member

This is not tailscale specific but a general CGNAT range. These are not RFC1918 addresses and are used differently. They usually live outside your firewall, while RFC1918 lives inside. This is such a small percentage of users i am really hesitant to add this. If you really need connectivity over these please use a VPN with a RFC1918 address space.

Shared Address Space is similar to [RFC1918] private address space in that it is not globally routable address space and can be used by multiple pieces of equipment. However, Shared Address Space has limitations in its use that the current [RFC1918] private address space does not have. In particular, Shared Address Space can only be used in Service Provider networks or on routing equipment that is able to do address translation across router interfaces when the addresses are identical on two different interfaces.

@caveman99 caveman99 reopened this Jan 6, 2025
@caveman99 caveman99 added the good first issue Good for newcomers label Jan 6, 2025
@caveman99
Copy link
Member

Looks like Tailscale really bends the RFC here ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants