Please provide the right routing configuration to enable opennds in bridge mode.
My two cents:
- Move from "bridge mode" to "router mode".
- Configure OpenNDS.
Per definition, a bridge will not mangle with traffic; it's much easier to start with a router configuration.
Is it not possible to configure opennds in bridge mode ?
No it is neither possible nor desirable. This is true for any captive portal (CP) as functionality depends upon the ability to route layer 3 traffic as desired. This is of course the definition of a router. As @eduperez said, a bridge cannot decide where to send packets (this is what mangle means), it just passes them on
Client devices (the devices used by "users" eg smart phones, laptops, tablets etc) all have built in software to detect the presence of the CP, a process known as captive portal detection (CPD).
CPD tests for Internet connectivity and the nearest upstream router will see the test packets sent by the client device.
If the router has CP abilities, these packets will be routed to the CP software instead of the Internet.
Yes some manufacturers have developed their own proprietary methods of capturing traffic on a bridged access point, but this is a hidden form of routing so not really "bridge mode".
If you think about it though, you will always have a router on your network somewhere. So that is where you want the CP functionality to be.
In this way, an entire venue with multiple access points can be served by a single CP running on the router.
For information, see the prerequisites for running OpenNDS here:
https://opennds.readthedocs.io/en/stable/install.html#prerequisites
Oh, Thank you for the info.
Is there any opensource package available that will support both in router and bridge mode ?
Sorry, did you not understand what I said?
In simple terms:
A captive portal cannot, by definition, work on a bridge only device.
Perhaps you could explain why you think you need to use a bridge device?
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.