CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. CCSA or CCSE One-Week Certification Training Courses with CPUG in Beautiful San Francisco!
    Courses Starting (2010) 4/12, 5/10, 6/7, 7/12.
2. Save the Date!  CPUG CON 2010 EUROPE, the User Conference in Switzerland, September 20th-22nd, 2010!
3. Join Our CPUG Groups On LinkedIn, Facebook, and Ning.  See Our Channel on YouTube.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 And Related Products > Confwiz
Register Projects FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2009-10-06
Junior Member
 
Join Date: 2009-05-14
Location: Indianapolis, IN
Posts: 11
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
  #2 (permalink)  
Old 2009-10-07
Junior Member
 
Join Date: 2009-05-10
Posts: 7
Rep Power: 0
Ofer Israeli has an average reputation (10+)
Default Re: Tips for successful Confwiz import

Hi Ender,

I'm a bit confused. You mention that you're using dbedit to import the file, but the thread is under Confwiz. From the limitations written there, I assume that this is indeed dbedit you are using and not Confwiz.

Have you used Confwiz to perform the initial ASA to XML conversion and then manipulated it to dbedit format?


Cheers,
Ofer
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 13:44.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2