Iptables vs shorewall

I’ve been trying to uncover some anomalies with the servers and finally found the root cause. iptables on NethServer do not have the same rules as shorewall. In a number of circumstances, when someone has updated shorewall with their preferred settings and rules, one may encounter issues because iptables is still running and does not use the same rules as shorewall.

My current workaround is:

  1. disable and stop iptables from running altogether
  2. manually update iptables with the same rules as shorewall, this can be cumbersome and problematic for most if they are not familiar with iptables.
1 Like

This should be resolved in 6.7rc1 release since Shorewall is the default firewall and CentOS iptables implementation is disabled by default.

2 Likes

Good to hear. I’ll wait a bit before moving to that release.

@islipfd19 would you like to give a hand to our testing team?
There’s a lot of fun there:

Clearly, not in production!

I looked over the NethServer 6.7 rc1 ready for testing post and did not see a clear indication to upgrade from 6.6 > 6.7; just the availability of the 6.7 rc1 iso.

http://docs.nethserver.org/en/v6.7/release_notes.html#upgrading-from-6-6

coincido con usted!!!

Do You agree with who and on what? :smile:

Sorry :blush, I agree with @islipfd19 : one may encounter issues because iptables is still running and does not use the same rules as shorewall.

As @giacomo said please check such behaviour on 6.7 and verify that you cannot reproduce it