opentechinstitute / commotion-router

The build system for the OpenWRT-based Commotion firmware.
https://commotionwireless.net
GNU General Public License v3.0
121 stars 43 forks source link

Meshing over Ethernet - Firewalls segment network #165

Open andygunn opened 9 years ago

andygunn commented 9 years ago

During a recent workshop, we had a fairly complex network setup at the "center point" of the mesh - a radio station where tower access made it possible to mount three NanoStation M2 units very high, and one Rocket M2 lower down on the tower with small omni whip antennas: mesh-bukavu-moe-firewall-issue The mesh-over-Ethernet domain is shown in the yellow circle.

Setup:

The rest of the network connected back to this tower, and with Access Points turned off on the rooftop mesh equipment, had excellent connections with low (less than 2.0) ETX values.

A problem occurred when connected to the AP at the base of the tower (the Rocket M2), and any node not meshed over Ethernet was accessed via the web: the connection would time out completely. It was possible to SSH to each node via the IP address, but not access the web interface.

It appeared that users attached to the nodes in one "segment" of the network wouldn't be able to see the users or access the resources on the other segments. This was not heavily tested, but it would have been the case that each sub-mesh connected to the NanoStation on the tower was not able to access resources on the other segments.

The problem was traced to the firewall on the four nodes on the tower that were meshed over Ethernet. When the firewalls were turned off, all of the nodes on the network were accessible from the clients attached to the Rocket at the base of the tower.

This requires further testing but could be resolved with some of the "automagic" configuration that would come along with the meshing over Ethernet rework as mentioned in other issues: https://github.com/opentechinstitute/luci-commotion/issues/209 etc.