Giter Club home page Giter Club logo

acl-mig's Introduction

acl-mig_v0.1

maintained by dfgpsantos

#This script helps to convert cisco ACLs into NSX DFW rules. #It's a bash shell script that uses sed and curl to convert the cisco acl into a NSX DFW rule. #I've tested it using Centos 7/8 you might need to change something to adjuts the sintax in other OS's.

#Here's the step by step usage guide of this script #1-) Provide the original acl list using the file acl.list. There's an example file for reference. #2-) Inform the NSX address, username and password allowed to create DFW rules through API calls #3-) include any services that are not listed in the original list. There's an initial list but it might be needed to include #others like LDAP, MySQL, Oracle and etc. Heres an example using LDAP sed -i 's/tcp,eq,389/\/infra\/services\/LDAP/g' acltest2.txt #The usage of \ is necessary due to regex over sed. #So the original path address in nsx /infra/services/LDAP should be written as: \/infra\/services\/LDAP #4-) For some OS's like ubuntu it might be necessary to run a chmod 755 acl-mig.sh in order to make it work running with ./acl-mig.sh

#In the end of script it'll prompted to keep or discard the .txt files used to convert the ACLs and to make the API calls in NSX.

#Happy ACL to DFW converting!!! :)

acl-mig's People

Contributors

dfgpsantos avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.