Replace IP's in Firewall Config for DR
-
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 dnsIs 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. -
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