On Sun, 12 Dec 2004 11:48:19 +0800, Gideon N. Guillen <[EMAIL PROTECTED]> wrote:

[snipped]

> Anyway, you can use this
> command to add iptables filter to block those ports:
> 
> /sbin/iptables -A INPUT -i <interface> -p udp -m udp --dport <portno> \
> -j REJECT --reject-with icmp-port-unreachable
> 
> Just reaplace <interface> (like eth0 or ppp0, etc) with the appropriate
> interface device name and <portno> with the appropriate port that you
> need to block (the one in the list you gave).

Does this still work even if I am using shorewall? (meaning it appends
the rule to some current config).
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to