Quantcast
Channel: Tomato Firmware
Viewing all articles
Browse latest Browse all 5253

How to use iptables to block range of destination IP's?

$
0
0
OK, I am struggling with the need to block facebook on http and https.

I have determined (with a kb I found, and with some nslookup) that these are the destination IP's I want to block.

I want to block them just during certain times of day.... (like I generally do in the access restrictions area of tomato).

From what I have read, I need to use iptables. Questions:

a) How to script blocking destination ip ranges?
b) Can I use cron on tomato, so I can turn stuff on at times and turn...

How to use iptables to block range of destination IP's?

Viewing all articles
Browse latest Browse all 5253

Trending Articles