Opening LuCI and forwarding traffic from WAN to LAN - aucoop/hahatay-community-network GitHub Wiki

First, I found very interesting this video to understand how firewalls and uptables work.

Enabling Access to LuCI from Backhaul Network

In order to access LuCI from the backhaul network (through the WAN interface of the router) we need to set Input tule of Wan Zone on Firewall to accept.

In Network > Firewallyou should change it and see something like this: image image

Enabling Traffic forwarding from Backhaul Network to other Local Networks

In order to let traffic flow from the backhaul network to the several local subnetworks in the community networks, we need to also enable forwarding from wan to lan zones, as shown in the picture below.

image Finally, in the backhaul rotuer (router-red-comunitaria router in our case) is mandatory to set a static routing rule.

Go to Network > Routing and add the necessary IPs.

image

If you are using LiteBeam antennas

Select the WDS (Transparent Bridge Mode). This allows the PtP link act as a super long Ethernet cord essentially. image

For more details see: How to set up an antenna for the first