Quoting Ina Patricia Lopez <[EMAIL PROTECTED]>:

> i cant seem to make it work.
> 
> while i enjoy full internet access through iptables with masq, i want
> to block some destination ip addresses and ports. how do i do that with
> iptables?

iptables -A FORWARD -d x.x.x.x/255.y.y.y -p tcp --dport port_no_or_range -j 
DROP
 
-- 
Stephen Paul E. Florentino   
"[The] sun will shine. It's automatic."


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to