I currently have this:
Code:
$IPT -A OUTPUT -p tcp --dport 80 -m state --state NEW -j ACCEPT
It works well, allows all requests out on port 80, however I want it to be more strict.
Is there any way to modify that so it can ONLY connect to the dns i specify? (I could use IP if DNS is not an option)
Example:
Allow outgoing traffic to x.x.x.x on port 80.
Also allow outgoing traffic to x.x.x.y on port 80.
Thanks!