...
iptables -A INPUT -s joe.idiot.com -m tcp -p tcp -tcp http -m state --state NEW -j ACCEPT
iptables -A INPUT -s mary.idiot.com -m tcp -p tcp -tcp http -m state --state NEW -j ACCEPT
iptables -A INPUT -s idiot.com -m tcp -p tcp -tcp http -m state --state NEW -j DROP
c.
Technical wrote:
i want any to access my web server; i want no one from idiot.com except joe.idiot.com and mary.idiot to access my web server... thanks