Community
    • Login

    Replace IP's in Firewall Config for DR

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Donald HickmanD
      Donald Hickman
      last edited by

      I have multiple lines in my firewall configuration that have our IP NAT’ing configuration in them.
      When we go to our DR site and do a restore we will have a different range of external IP’s such as 66.###.###.#01-128
      nat (inside,outside) static 1##.###.###.#01 dns
      nat (inside,outside) static 1##.###.###.#02 dns
      nat (inside,outside) static 1##.###.###.#03 dns

      Is there a way of me doing a find and replace for multiple IP’sw with Multiple IP’s?
      Maybe with a spreadsheet or something by the way I see as my example above that they may use the same ending numbers and just do a find and replace with the beginning numbers but that isn’t the case.
      it would be 60 numbers between 129-255
      and 66-128 or something along those lines, wouldn’t know until I got to the DR site.

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @Donald Hickman
        last edited by

        Hello @Donald-Hickman,

        I don’t know of an internal npp way to do this but if you can install python script plugin
        I assume we can find a solution doing it. If you want to go this way, please install python script
        plugin from the msi instead of using plugin manager.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors