Skip to content

config: consistently enable TUN and VETH across arches#102

Merged
slp merged 1 commit into
libkrun:mainfrom
valpackett:tunveth
Sep 29, 2025
Merged

config: consistently enable TUN and VETH across arches#102
slp merged 1 commit into
libkrun:mainfrom
valpackett:tunveth

Conversation

@valpackett
Copy link
Copy Markdown
Contributor

They're already enabled on x86_64, enable on other architectures as well. TUN is especially useful for VPN clients.


Discussion: Would be great for us if NF_TABLES (with very basic modules like conntrack/counter/..) were also enabled, would that be too much of a space increase?

For some background: for Clan we're working on an app platform where peer-to-peer apps could be shipped as microVMs pre-connected to a mesh VPN / overlay network, aiming to support various VPN solutions. While some like ZeroTier are perfectly happy with just a TUN interface, others like Tailscale have a hard requirement on being able to configure nftables.

They're already enabled on x86_64, enable on other architectures as well.
TUN is especially useful for VPN clients.

Signed-off-by: Val Packett <val@invisiblethingslab.com>
@slp
Copy link
Copy Markdown
Collaborator

slp commented Sep 26, 2025

Discussion: Would be great for us if NF_TABLES (with very basic modules like conntrack/counter/..) were also enabled, would that be too much of a space increase?

Could you please build a kernel for x86_64 and aarch64 with the desired options enabled and compare the sizes of the resulting binaries?

Copy link
Copy Markdown
Collaborator

@slp slp left a comment

Choose a reason for hiding this comment

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

Discussion about NFTABLES aside, this change LGTM and makes sense, thanks @valpackett !

@slp slp merged commit 3376801 into libkrun:main Sep 29, 2025
6 checks passed
@valpackett valpackett deleted the tunveth branch September 30, 2025 04:43
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