Différences entre les versions de « Ipfw Rules »

De BlaxWiki
Aller à la navigationAller à la recherche
 
(Une version intermédiaire par le même utilisateur non affichée)
Ligne 14 : Ligne 14 :
</pre>
</pre>


[https://wiki.blaxeenprod.com/BENPERSO/files/ipfw.rules.sh Fichier] bash lancant ipfw avec plein de reglès,
[https://{{SERVERNAME}}/BENPERSO/files/ipfw.rules.sh Fichier] bash lancant ipfw avec plein de reglès,à uiliser avec le fichier de [https://{{SERVERNAME}}/BENPERSO/files/ipfwrules-variables.sh variables]
 
à uiliser avec le fichier de [https://wiki.blaxeenprod.com/BENPERSO/files/ipfwrules-variables.sh variables]


[[Catégorie:Software]]
[[Catégorie:Software]]

Version actuelle datée du 6 mai 2013 à 16:57

pass  in    quick on fxp1 proto icmp  from any to 212.43.231.1 keep state
pass  in    quick on fxp0 proto tcp  from any port = 25 to 212.43.216.14 keep state
pass  out   quick on fxp0 proto tcp  from 212.43.231.1  to any keep state
pass  out   quick on fxp0 proto tcp  from 212.43.231.2  to any keep state
pass in quick on fxp0 proto tcp from any port = 80 to any keep state
pass in quick on fxp0 proto tcp from any port = 443 to any keep state
pass  in     quick on fxp0 proto tcp  from 212.43.241.27  to 212pass  in     quick on fxp0 proto tcp  from 83.145.111.40  to 212.43.231.3 port = 3389 keep state
pass in quick on fxp0 proto tcp from any to 212.43.231.51 port = 80 keep state
pass  in     quick on fxp0 proto tcp  from any port = 20  to 212.43.231.128 port >= 1024 keep state
block in log  quick from any to any
add 00040 allow tcp from any to any 23,25,80,21,110,143,3306,5432,43 gid claraplus
add 00040 deny log logamount 100 ip from any to any gid claraplus

Fichier bash lancant ipfw avec plein de reglès,à uiliser avec le fichier de variables