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: support adding tun devices #530

Open
h3po opened this issue Oct 5, 2022 · 14 comments
Open

Feature request: support adding tun devices #530

h3po opened this issue Oct 5, 2022 · 14 comments
Labels
help wanted Possible issue for newcomers low impact estimated to make a low impact

Comments

@h3po
Copy link

h3po commented Oct 5, 2022

Please add support for creating connections with type: tun. These are the nmcli options for tun devices:

    tun:          mode tun|tap
                  [owner <UID>]
                  [group <GID>]
                  [pi yes|no]
                  [vnet-hdr yes|no]
                  [multi-queue yes|no]
@liangwen12year
Copy link
Collaborator

Hi, what is the use case for it ?

@h3po
Copy link
Author

h3po commented Oct 17, 2022

In my case an openvpn server. In order to use firewalld zones and policy for the forwarding rules, the device must exist statically and cannot be created on-demand by the openvpn process.

@liangwen12year liangwen12year self-assigned this Oct 20, 2022
@liangwen12year
Copy link
Collaborator

ok, I will add support for this.

@tyll
Copy link
Member

tyll commented Mar 1, 2023

@h3po does this mean you need tun devices and be able to set a firewalld zone for them via the network role or is it enough to be able to create the tun devices?

@h3po
Copy link
Author

h3po commented Jul 6, 2023

@h3po does this mean you need tun devices and be able to set a firewalld zone for them via the network role or is it enough to be able to create the tun devices?

ansible.posix.firewalld already supports setting the firewalld zone, the device just needs to exist

@liangwen12year
Copy link
Collaborator

liangwen12year commented Aug 28, 2023

Eventually, we may want to support it in Nmstate, so that we can use it in the network_state variable, but this seems not to be a high-priority task. You are welcome and appreciated to support such a feature in Nmstate if you wish, https://github.com/nmstate/nmstate.

@liangwen12year liangwen12year added help wanted Possible issue for newcomers low impact estimated to make a low impact labels Aug 28, 2023
@Precious000
Copy link
Contributor

Hi
I’m an outreachy intern, I’ll like to work on this, kindly assign it to me. Thanks

@liangwen12year
Copy link
Collaborator

We want to support it in nmstate, not sure if you have experience coding in rust ?

@Precious000
Copy link
Contributor

Yes, I do.

@Precious000
Copy link
Contributor

Hi @liangwen12year can you please assign it to me? Thanks

@liangwen12year
Copy link
Collaborator

I assigned it, thanks.

@liangwen12year
Copy link
Collaborator

Thanks a lot for the help.

@Precious000
Copy link
Contributor

Hi, can you please assign this to someone else? I’ve been assigned some other, thanks a lot I really appreciate.

@liangwen12year
Copy link
Collaborator

Hi, can you please assign this to someone else? I’ve been assigned some other, thanks a lot I really appreciate.

I cleared the assignee.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Possible issue for newcomers low impact estimated to make a low impact
Projects
None yet
Development

No branches or pull requests

4 participants