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” (126.96.36.199/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
Users Connected by Wifi (188.8.131.52->254)
Linksys WRT54GL (ip 184.108.40.206 and disable the DHCP server !!)
ZeroShell (With 2 Network Cards + Enable the DHCP server for the subnet 220.127.116.11/24 from 18.104.22.168 to 22.214.171.124)
I hope it will help you (an other) 😉
(also sorry for his English )