Hi every body! I'm newbie.
How do I redirect or block all http request except one or more domain name (like facebook.com, google.com, ect...)
I found this, but it redirect all, I can not add exception.
Code:
iptables -t nat -A OUTPUT -p tcp -j DNAT --to 22.22.22.22
Can some one help me? Many thank