This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Automatic Firewall rules option troubles

Hi.

I found an issue with the "Automatic firewall rules" in the Server load balancing section, and I suppose it might be happening in other areas as well. I contacted support about this and they just replied to me to add a new feature, which I will. But thought to put something more actively read here.

First thing, when I configured a load balancing rule and turned on the auto rule, it worked fine. But it does not log that specific traffic. (this is the feature to add.) So to try to do it myself, I created a FW rule for the same port and destination and enabled logging. SHOCKINGLY..  it does not allow the traffic! And I have no way of knowing what the auto rule does because I can't see it anywhere (another feature).

But that's not all....
After deleting the FW rule I put in, the traffic CONTINUED TO FAIL! yet without logging. So now I'm sitting with no FW rule and the load balancing rule with the auto FW rule option active with no traffic. Solution? I had to disable the auto-FW rule, save it, and then re-enable it.

I also tried performing the test by first disabling the auto-FW rule and then making my manual FW rule but still it did not allow the traffic.

What gives?


This thread was automatically locked due to age.
Parents Reply Children
  • If Astaro just transparently allowed the iptables stuff, we'd have a clearer solution. They could have just stuck the GUI of Linux's Webmin in there. (Webmin)


    Only a guess...did you also disable manual created dnat rules when enabling the slb? AFAIK the slb does loadbalancing via NAT...

    Wer Schreibfehler findet, darf sie behalten. Wenn ich via IPad poste, sind Verschreiber und grammatikalische Aussetzer irgendwie an der Tagesordnung.
  • Only a guess...did you also disable manual created dnat rules when enabling the slb? AFAIK the slb does loadbalancing via NAT...

    Wer Schreibfehler findet, darf sie behalten. Wenn ich via IPad poste, sind Verschreiber und grammatikalische Aussetzer irgendwie an der Tagesordnung.


    Well here's a problem.  How can I create a NAT rule when the point is to load balance? The functionality of sending the data to more than 1 defined "real server" is not there in creating DNAT/SNAT rules in here.

    But either way, note that the FW logs actually show the packets being DROPPED  when SLB config is enabled even when the FW rule says to ACCEPT.