What's new

Exclude ONE IP from internet access?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Bamsefar

Senior Member
Well I have white rules in my ASUS router, however I need to exclude internet access for ONE client all the time. Since I run white lists I can not use black list at the same time (as far as I know anyway). Is there any way, iptables command or something, I achive this without turning my system inside and out (that is rearrange DHCP and static IPs and so on - a major operation if you ask me)? A simple iptables command maybe :confused:
 
/jffs/scripts/firewall-start
Code:
#!/bin/sh
iptables -A FORWARD -o `nvram get wan0_ifname` -m mac --mac-source 01:23:45:67:89:AB -j DROP

chmod a+rx /jffs/scripts/*
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top