Reply To: How to enable Captive portal more than one interfaces?

Home Page Forums Network Management ZeroShell How to enable Captive portal more than one interfaces? Reply To: How to enable Captive portal more than one interfaces?

#48262

giancagianca
Member

Standard ZS captive portal can handle only one interface.

You can try (not tested) to add rule to firewall Chain CapPort from console.
Normally is

Chain CapPort (1 references)
pkts bytes target prot opt in out source destination
44M 23G CapPortACL all — ETH01 * 0.0.0.0/0 0.0.0.0/0

ETH01 is interface in my configuration

you can try to add other rules for your interface.

If not work you can modify script that autorize user.

/root/kerbynet.cgi/scripts/cp_authorize_client

this script change firewall chain when one user login or logout.

If I remember correctly interface appear only in chain CapPort

bye.