Author Topic: Rules Iptables  (Read 1359 times)

Wolney

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Rules Iptables
« on: November 27, 2009, 07:17:02 pm »
Hi, I,m new user on EBOX and i´m with some troubles.

First: I Has disabled the firewall mode (manager) in the EBOX interface;
Second: I has manually created one scipt with my firewall rules;
Thrid: I has disabled the sqid molule (proxy).
Trouble:
Every time that i update any setting he´s just "emty" my firewall rules.
How can I configure it to run my script every time than I click in the "save" button?
Thanks.
« Last Edit: December 04, 2009, 09:21:28 am by sixstone »

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: Rules Iptables
« Reply #1 on: December 04, 2009, 09:23:33 am »
Hello Wolney,

If you have disabled the firewall, then the firewall wouldn't have been flushed. Even if it does, you may set the custom rules in /etc/ebox/hooks/firewall.postservice script.

Best regards,
My secret is my silence...

Wolney

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Rules Iptables
« Reply #2 on: December 04, 2009, 07:09:56 pm »
OK, thanks, i will try it.