Convert Cisco ACLs to iptables commands ======================================= This script permit to convert Cisco ACLs to ipbtales commands. This script take as input the result of "show run" command from Cisco firewall, detect line starting by "access-list " and convert them to iptables command. You can add iptables arguments by using [add to iptables command] parameter. To debug, use [-d] parameter that will display how this script as parse and understand the ACL line. Usage ----- cisco-acl-to-iptables [rule file] [add to iptables command] [-d] Copyright --------- Copyright (c) 2013 Benjamin Renard License ------- This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program 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 this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.