I need help with iptables to allow a specific IP to access a destination (FaceBook)
The following rule blocks facebook access to everyone in the company(this rule works successfully):
iptables -A FORWARD -p all -d $ip -j REJECT
(The ip address is read from a text file.)
Now I want to allow one person access to FB.
I tried the following but its not working:
iptables -A FORWARD -p all -s 10.0.0.x -d $ip -j ACCEPT
Please help & advise me.