LoRes Mesh

Opening P2Panda ports with Traefik

Supporting P2Panda apps like lores-node requires a change to the default Co-op Cloud Traefik config.

You might recall that when we setup our Firewall, we allows our server to receive traffic on ports 2022 and 2023. This is so that we can send data between our LoRes Node and another using for P2Panda.

Now that we’re installing lores-node, we need traffic to those ports to be accepted and routed by Traefik to the correct app.

Edit Traefik config

It’s time to edit our Traefik config with abra again:

abra app config traefik-YOUR_HOSTNAME.local

You should find a line in that file that says P2PANDA_ENABLED=1, but it’ll be commented out (there’s a hash character # in front of it). Remove the hash to enable this line.

Re-deploy Traefik

Re-deploy Traefik with:

abra app deploy -f traefik-YOUR_HOSTNAME.local --no-domain-checks

The -f stands for force, and you’ll need this if it’s already deployed and you’ve made config changes.

Checklist

You should have completed:

  • Changed our traefik config to enable p2panda, and re-deployed it