Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Importing config from m0n0wall

    1.2.1-RC Snapshot Feedback and Problems-RETIRED
    3
    4
    3.9k
    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.
    • F
      feadin
      last edited by

      Hi, I've just migrated from m0n0wall-embedded to pfSense-embedded. There's a possible bug I'd like to report:
      When importing the m0n0wall config, it seems it didn't recognize the rules where the interface is "ipsec". It did import most of the config fine, but then php threw out an error and none of the rules worked (ie there's no connection at all betwen interfaces, only webconfig and ssh) this ipsec rules was not listed in the "rules" list on the webconfig and the only way to fix it was to manually edit the /cf/conf/config.xml file and delete this rules.
      Sorry but this didn't get logged to my syslog server so I can't send the exact error :(

      EDIT: Using pfSense-1.2.1-20081106-2246 with an ALIX2c3 and a Kingston 1GB CF. m0n0wall was 1.3b15.

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by

        You fail to show us an example config.xml or error message.  This report is useless unfortunately.

        1 Reply Last reply Reply Quote 0
        • F
          feadin
          last edited by

          Yes, unfortunately I didn't keep the exact error, but I can show you what I did change in the config.xml file to fix it:

          <rule><type>pass</type>
          <interface>ipsec</interface>
                                  […]</rule>

          Just replaced ipsec with lan, and the entry finally showed up in the rules list and I was able to delete it.

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            m0n0wall didn't have IPsec filtering when the config import was created. The problem is m0n0 uses <interface>ipsec</interface> while we use enc0 instead. Same thing, different name. This is a bug, I opened a ticket.
            http://cvstrac.pfsense.org/tktview?tn=1829

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.