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

Allow sys-tailscale to provide network to other qubes. #107

Open
ben-grande opened this issue Dec 4, 2024 · 0 comments
Open

Allow sys-tailscale to provide network to other qubes. #107

ben-grande opened this issue Dec 4, 2024 · 0 comments
Labels
T: enhancement New feature or request

Comments

@ben-grande
Copy link
Owner

Current problem (if any)

Setting prefs provides-network True is easy, but firewall rules have to be set to allow only access to Quad100 port 53, not other ports such as 80 (Device management interface). Although client qubes cannot make any actions without being logged in to the tailscale service, they can still learn informations about the software version, if SSH is enabled and other things of sys-tailscale.

I havent found a way to allow MagicDNS to work from client qubes. Having a tailnet device named test-tail, it can be queried from client qubes via IP address, DNS if DNAT to Quad100 using test-tail.tailnetname.ts.net, but bare MagicDNS test-tail does not work from clients without modifying the client to have in /etc/resolv.conf the line search tailnetname.ts.net. One option is using dnsmasq to redirect queries correctly.

Proposed solution

  • Make sys-tailscale provide network to other qubes
  • Accept connections coming from vifs to Quad100 port 53 TCP/UDP IPv4/IPv6
  • Drop connections coming from vifs to Quad100 TCP/UDP.

The value to a user, and who that user might be

Users can have a qube connecting to the tailnet without having tailscale installed on them.

@ben-grande ben-grande added the T: enhancement New feature or request label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant