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

RfC: Support vmnet on macOS #466

Open
wants to merge 2 commits into
base: 1.1
Choose a base branch
from
Open

Conversation

e-karge
Copy link

@e-karge e-karge commented Oct 11, 2024

Enables support for macOS vmnet devices. This allows to use switch mode on current macOS devices.

Current state of this PR is a bit rough but working, open todos include:

  • documentation
  • configuration (more on this see below)
  • tests

I'll happily address these shortcomings, I just wanted check beforehand if there is some interest in this feature.

MacOS seems to filter packages outside the initially configured subnet, limiting what can be done with tinc-up. As a workaround I propose adding a couple of device specific configuration variables, namely:

  • VmnetAddr
  • VmnetNetmask
  • VmnetNat66Prefix

(mirroring what qemu accepts for network configuration, conflating start and end address).

Suggestions regarding code style/structure are most welcome.

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.

1 participant