You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Netmaker version: 0.24.2 community
Netclient: 0.24.2 community, installed on linux hosts (debian) through netmaker repository package manager
Firewall: nftables
Since version 0.24, I have some troubles between netclient and the firewall of the OS. Indeed, after each restart of netclient service (and especially during an upgrade of netclient), it keeps loading its own rules in the firewall, breaking my own configuration. My firewalls are configured on each node in blocking mode, allowing the ports necessary for netmaker and hosted services. The problem is worse on my hypervisor, for which a nat configuration is in place.
Example of firewall configuration after netclient restart:
Whereas the configuration loaded through systemd at startup on the same host is this one:
From my point of view, it is not the role of netmaker to handle FW configuration by default since it can conflict with other configurations and services. I would prefer to have the possibility to do it manually when needed.
Thus, my questions are the following:
What are the needs for netclient to modify firewall rules?
Is there a way to prevent netclient to modify the firewall (through some configuration or something)?
I have searched the documentation and the troubleshooting section with no luck on that subject.
Thank you in advance for your answer and congrats for the job already done!
The text was updated successfully, but these errors were encountered:
Netmaker version: 0.24.2 community
Netclient: 0.24.2 community, installed on linux hosts (debian) through netmaker repository package manager
Firewall: nftables
Since version 0.24, I have some troubles between netclient and the firewall of the OS. Indeed, after each restart of netclient service (and especially during an upgrade of netclient), it keeps loading its own rules in the firewall, breaking my own configuration. My firewalls are configured on each node in blocking mode, allowing the ports necessary for netmaker and hosted services. The problem is worse on my hypervisor, for which a nat configuration is in place.
Example of firewall configuration after netclient restart:
![image](https://private-user-images.githubusercontent.com/8901633/349883984-2eba306e-05ef-4b80-aa26-09945631eaa0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk3MjY2NDQsIm5iZiI6MTczOTcyNjM0NCwicGF0aCI6Ii84OTAxNjMzLzM0OTg4Mzk4NC0yZWJhMzA2ZS0wNWVmLTRiODAtYWEyNi0wOTk0NTYzMWVhYTAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTZUMTcxOTA0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDVjMDA0OTFkZTQ1ZGM2ZTk3NTRhMjE1MmRlM2FmZWQ4M2YwOGI2NGFjYWY0NWM0YTRiOTYwMWM3YzI5OGRiNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.Xa5xHYS6TI_re-WWj6ExF1awqLHCNg5nMxOPveP9OTU)
Whereas the configuration loaded through systemd at startup on the same host is this one:
![image](https://private-user-images.githubusercontent.com/8901633/349884463-39d9b857-e466-402d-b44a-9b716014fc51.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk3MjY2NDQsIm5iZiI6MTczOTcyNjM0NCwicGF0aCI6Ii84OTAxNjMzLzM0OTg4NDQ2My0zOWQ5Yjg1Ny1lNDY2LTQwMmQtYjQ0YS05YjcxNjAxNGZjNTEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTZUMTcxOTA0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGI0YTA5MTJlY2RlM2ViOTc3OGM3ZGI0YTMyM2ZhZDAyZTU0N2RiOGMyYzY4Nzk4ZTdmYmIwMTI0MDJmMTU0NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.Di3ecSFG1NCkDAxMeH3QLypB38MfWRBP9J-ZyLelVU0)
From my point of view, it is not the role of netmaker to handle FW configuration by default since it can conflict with other configurations and services. I would prefer to have the possibility to do it manually when needed.
Thus, my questions are the following:
I have searched the documentation and the troubleshooting section with no luck on that subject.
Thank you in advance for your answer and congrats for the job already done!
The text was updated successfully, but these errors were encountered: