Author Topic: Firewall is blocking everything  (Read 1844 times)

lixoman100

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Firewall is blocking everything
« on: August 06, 2009, 08:04:33 pm »
Hello,

I have three network interfaces on my computer: eth0, eth1 and eth2. eth0 and eth1 are supposed to be different connections to the internet, and eth2 is the connection to the local network.

I'm trying to set the machine as a gateway and I'm having problems with the firewall setup. Basically, as soon as the firewall is enabled both my https and ssh connections as blocked. I have to do a ebox firewall stop to be able to access it again.

Thinking it could have something to do with it being a clean 64bit ubuntu with eBox pulled from the repositories, I downloaded the eBox iso and installed from it. To my surprise, the firewall was already enabled and I was able to access it!

Then I configured both eth0 and eth1 as static interfaces, configured their IPs, configured them as externals, saved the changes... and was blocked again.

I did some more tests. It seems that if I configure any of the two interfaces with a static IP, even if I don't check the "external" checkbox, my access is blocked by the firewall again.


What am I doing wrong here?

lixoman100

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Firewall is blocking everything
« Reply #1 on: August 06, 2009, 08:22:05 pm »
Hello,

It seems that doing
iptables -F inospoof
corrects the issue.

What is the correct way of adding this fix to eBox on my installation?

toddratson

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Firewall is blocking everything
« Reply #2 on: August 07, 2009, 03:45:48 am »
As we both have similar requests for help, I thought I would weigh in on this. http://forum.ebox-platform.com/index.php?topic=1717.0

Does the spoof command solve the problem permanently or just until reboot?

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Firewall is blocking everything
« Reply #3 on: August 07, 2009, 10:57:28 am »
Please, check if your firewall module is updated. Run:

Code: [Select]
sudo apt-cache policy ebox-firewall

and

Code: [Select]
sudo apt-get install ebox-firewall