Trace: » banning_users_by_mac_address

Login

You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in.

Login

You don't have an account yet? Just get one: Register

Forgotten your password? Get a new one: Send new password

Banning MAC Addresses from your WiFiDog network

This can be done in a clumsy way by changing one file on the wireless gateway box that the user is connecting to.

Adding this line to /etc/init.d/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 Page