# # Copyrights : CNRS # Author : Simon Delamare # Acknowledgment : XtremWeb-HEP is based on XtremWeb 1.8.0 by inria : http://www.xtremweb.net/ # Web : http://www.xtremweb-hep.org # # This file is part of XtremWeb-HEP. # # XtremWeb-HEP is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # XtremWeb-HEP is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with XtremWeb-HEP. If not, see . # *filter # Input -P INPUT ACCEPT # Output -P OUTPUT ACCEPT # Routage -P FORWARD ACCEPT # Communication allowed on loopback -A OUTPUT -o lo -j ACCEPT # Output allowed on established incoming connections -A OUTPUT -m state --state RELATED,ESTABLISHED -j ACCEPT # Allow a given port range on output -A OUTPUT -p tcp --dport 4000:4100 -j ACCEPT # Deny access to LAN 10 -A OUTPUT --destination 10.0.0.0/8 -j REJECT # Deny access to LAN 172 -A OUTPUT --destination 172.16.0.0/12 -j REJECT # Deny access to LAN 192 -A OUTPUT --destination 192.168.0.0/24 -j REJECT # commit COMMIT # done