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

Re: règle Iptables



On Thu, 29 Mar 2012 20:00:42 +0100 (BST)
Tahar BEN ACHOUR <tahar_ba@yahoo.fr> wrote:

> 
> Je suis un noob concernant Iptables 

Et une buse qui ne lit pas la doc: que fait -I, par opposition à
-A?...

> iptables -I OUTPUT -p tcp -d my_dns_IP --dport 53 -j ACCEPT
> iptables -I OUTPUT -p udp -d my_dns_IP --dport 53 -j ACCEPT
> iptables -I OUTPUT -p tcp --dport 53 -j DROP
> iptables -I OUTPUT -p udp  --dport 53 -j DROP

-- 
QOTD:
	"My ambition is to marry a rich woman who's too proud to let
	her husband work."


Reply to: