Git Product home page Git Product logo

Comments (3)

ilario avatar ilario commented on June 24, 2024

Just saw that lime-hwd-openwrt-wan not only activates proto/wan on the WAN port, but also adds all of the other protocols except LAN!

for _, pArgs in pairs(config.get("network", "protocols")) do
local pArr = utils.split(pArgs, net.protoParamsSeparator)
if ( pArr[1] == "bmx6" or pArr[1] == "bmx7") then
pArr[2] = 0
pArgs = table.concat(pArr, net.protoParamsSeparator)
table.insert(protos, pArgs)
elseif ( pArr[1]~="lan" and pArr[1]~="wan" ) then
table.insert(protos, pArgs)

(BMX6 and 7 are added without VLAN, but we cannot do the same with Babeld yet, see #631)

So what happens is that the WAN port is not inside br-lan but it has the routing protocols. With a bit of luck, the VLAN of Batman-adv in one cloud and in the neighboring will be different, so that the WAN-WAN connection does not sound like a terrible idea (just an undocumented one).

So, in order to use such connections, we just have to document how to disable OpenWrt firewall on the WAN port.

from lime-packages.

ilario avatar ilario commented on June 24, 2024

I added some documentation here: libremesh/libremesh.github.io@ab7491f
I have no idea if it works (never used it), and people using it never spoke up.
Closing until when someone asks for more documentation on this.

from lime-packages.

ilario avatar ilario commented on June 24, 2024

To be checked again.
The Babeld's interfaces are not in the list of WAN interfaces to be protected by the firewall, so it could be that it just works, without having to open the firewall on the WAN.

from lime-packages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.