[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to work with my iptables script



* Jacob Friis Larsen <jfl@list.idg.dk> [30-08-04 12:56]:
> >... and REJECT also UDP traffic with
> >'port-unreachable'
> 
> Can I learn from an example from you?

You can add this as last rules:

iptables -A INPUT -m state --state NEW -j LOG -m limit --limit 3/min

iptables -A INPUT -p tcp -j REJECT 
	--reject-with tcp-reset -m limit --limit 1/sec

iptables -A INPUT -p udp -j REJECT 
	--reject-with icmp-port-unreachable -m limit --limit 1/sec

-- 
Tom



Reply to: