===== Banning MAC Addresses from your WiFiDog network ===== This can be done in a clumsy way by changing one file on the [[publicwifi:installation_of_the_wifidog_captive_portal|wireless gateway box]] that the user is connecting to. Adding this line to /etc/init.d/[[publicwifi:proxy.sh|proxy.sh]] prevents a MAC address from accessing the gateway. Obviously change the MAC below for the user's MAC: iptables -A INPUT -m mac --mac-source 00:00:00:00:00:00 -j DROP Quick note - Make sure you put your rule after this bit: # # Clearing any existing rules and setting default policy # iptables -P INPUT ACCEPT iptables -F INPUT iptables -P OUTPUT ACCEPT iptables -F OUTPUT iptables -P FORWARD DROP iptables -F FORWARD iptables -t nat -F Otherwise it'll be wiped! Restart the wireless gateway box reboot and all should be fine... More investigation is being undertaken to provide a more permanent solution. **Key search words** - //ban, mac, wifidog, address// [[discussion:publicwifi:banning_users_by_mac_address|Discussion Page]]