Ping Orange to Green firewall IP allowed by default?

.Hi guys, I have a (maybe stupid) question: I started with having a webserver test machine in the orange network to make it available to the internet. During routine checks I found out that on this Linux machine in Orange I can ping the IPfire’s Green, Blue and Orange IP addresses. Shouldn’t these be dropped from the Orange network?

I have done a fresh installation of IPfire with minimal basic config and still see this behaviour.

Is this standard and if yes, can anyone tell me why?

Many thanks, Pat.

This is the default

unless otherly specified in your firewall rules setup, the behaviour should be this.

Hi. Appreciate your reply.

I know this page, and it says “Closed” from Orange to Firewall - so I would not expect a ping (ICMP) being possible. Am I getting it wrong?

Even more - from a machine in the blue network, I am able to open the ipfire web console on ipfire’s ORANGE IP address. If this weren’t a fresh install, with manual and only basic configuration like dial-up settings, I would suspect misconfiguration on my side.

Can anyone confirm this is expected, normal behaviour on a fresh IPFire installation?

Summary:

  1. Machine in Orange network is able to ping all four IPFire network interfaces, green, blue, red and orange.
  2. A Machine in blue (no Port rule, pinhole etc defined for this in the firewall) can open IPFire’s Webinterface on the Orange IP address, port 444.
  3. An openVAS scan from Blue to the whole orange network range shows the following vulnerability (maybe a false positive, I continue to research but do not have much time right now): Web Proxy Auto-Discovery Protocol Information Disclosure Vulnerability (badWPAD) - Active Check: Vulnerable URL: https://myOrangeIP:444/wpad.dat

This seems strange to me, any explanation would be highly welcome! As soon as I can I’ll also scan from the orange and other networks, but my time is limited.

Many thanks!

Pat

Yes. Pinging with icmptype 8 is allowed for all interfaces inside IPFire. See the iptables entry in the WUI.

However if you have no firewall rules set up and try and run a ping from a machine in your orange network to a machine in your green or blue networks you will get no response.

Yes. This is mentioned in the documentation. However the user on the machine on the blue interface can only open the WUI if you have given them the password.

The IPFire documentation also shows you how to block that.

https://www.ipfire.org/docs/configuration/firewall/accesstoblue#deny-blue-clients-access-to-the-ipfire-web-interface

Note the advice that an ACL rule is also needed if the web proxy (squid) is being used.

2 Likes

Hi Adolf,

many thanks for the explanation and the link, my apologies for asking these questions if they are already in the documentation!

Regards,
Pat