1

I am stuck in one issue for which I need your help on this. Actually its bit complex to explan about my situatuion but I will try my best.

I am working on customized captive portal on arm processor board with embedded linux os.

For which I need to run this captive portal server on my arm board. I got mostly done if run dhcp server internally with dnsmasq, but my requirement is our infrastructure already has dhcp and dns server running externally and I want to use that in my configuration.

Till now what I tried,

I created bridge - brvl2388 of two interfaces(eth0.2388 vlan and wlan0) on arm board. This bridge is routing traffic between both interface.

So any client device will connect to wlan0 to my arm board and get dhcp ip from external dhcp server via eth0.2388 and get internet access. (Tested Works fine).

Now here I want to add captive portal on my arm board to redirect web traffic to authorized first before using internet. For this I tried IPTables commands to forward port 80 traffic to web server but its not working. And for security reason I can not provide ip to my bridge.

Below is generic use case diagram:

FLOW DIAGRAM

  1. Whenever any wireless device will get connect to access point, it will send DHCP request. Access Point will forward DHCP request to Fortinet DHCP server and block all other request for that client. Fortinet DHCP server will assign IP address to wireless device.
  2. Access Point will redirect client to local Terms & Condition page which is hosted by web server and wait until client accepts it.
  3. When client accept the T&C, Access point will give internet access.

*I also looked into coovachilli for my requirement but it didn't help me.

Please let me know if need more information. Any direction or hint will be helpful for me. Thanks in advance..!

closed as unclear what you're asking by Ron Trunk, Ron Maupin Apr 12 at 13:03

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 4
    What is your question? – Ron Trunk Apr 12 at 11:59
  • @Ron Trunk - I edited question to explain my best. Thanks – Dhruv Patel Apr 15 at 7:51
  • Unfortunately, your question is off-topic here. – Ron Maupin Apr 15 at 12:39