Reply To: ZeroShell Captive Portal + Linksys WRT54GL

Home Page Forums Network Management Networking ZeroShell Captive Portal + Linksys WRT54GL Reply To: ZeroShell Captive Portal + Linksys WRT54GL

#46026
Phil6
Member

Hello Rachidi,

The behaviour of your linksys is normal. It’s because you use it like a router an not an access point.

The router will make NAT between your “wifi-side”(10.0.0.0/16) of the linksys and the “Wan-side” (172.0.0.0/24).

If you use it like an access-point, the linksys will ‘bridge’ user on the wifi side to the lan-side. So your ZeroShell will see the MAC&IP of your wifi user and not the MAC&IP of the wan-side of your Linksys.

The solution is to connect your linksys to your ZeroShell with an lan-port and not the wan-port of the linksys

example:

Users Connected by Wifi (172.0.0.5->254)
|
|
Linksys WRT54GL (ip 172.0.0.2 and disable the DHCP server !!)
Lan-port
|
|
172.0.0.1/24
ZeroShell (With 2 Network Cards + Enable the DHCP server for the subnet 172.0.0.1/24 from 172.0.0.5 to 172.0.0.254)

I hope it will help you (an other) 😉

Regards,
Phil.
(also sorry for his English )