View Single Post
  #1 (permalink)  
Old 2009-10-06
Ender519 Ender519 is offline
Junior Member
 
Join Date: 2009-05-14
Location: Indianapolis, IN
Posts: 14
Rep Power: 0
Ender519 has an average reputation (10+)
Default Tips for successful Confwiz import

1. Create the file in Notepad or similar regular text editor.

2. Double, triple check the syntax.

3. Make sure you have NO leading or trailing spaces. NO leading or trailing empty lines.

4. ONE command per line only! To change multiple attributes you need multiple lines, followed by an update command.

5. FTP the text file to the firewall.

6. If you are using SPLAT, you MUST use a utility called dos2unix, that will convert the file properly. This is the only way I found it to work, even if I tried using TextPad or similar to save in "Unix" format. Syntax is "dos2unix filename.txt"

7. Check your file with VI, there should be NO special characters now that it's properly formatted.

7. Use dbedit to import the file and cross your fingers.

If you see lines of output that look like syntax, you have a problem. Look for leading/trailing spaces or lines. Make sure you have the file formatted properly with VI. Make sure you have the syntax right.

It's a little picky, but INVALUABLE. Personally I used it to convert ASA to checkpoint. I was interested in network objects and NAT's only, and was able to save myself a boatload of time.
Reply With Quote