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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login