• Login
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.
  • D
    Donald Hickman
    last edited by Feb 8, 2016, 4:20 PM

    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.

    C 1 Reply Last reply Feb 10, 2016, 11:57 PM Reply Quote 0
    • C
      Claudia Frank @Donald Hickman
      last edited by Feb 10, 2016, 11:57 PM

      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
      1 out of 2
      • First post
        1/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors