Here is the default m0n0wall config.xml file. Couple of comments:

  • Add a section to system for listing active services.
  • Put interfaces, routing, nat, vlans and pppoe into a node.
  • Put services in a node.
  • Use attributes like "active" or "enable" instead of commenting stuff out.




        1.6
        
        
                sysctl kern.coredump=0
                m0n0wall
                local
                
                
                admin
                $1$2xGLA75j$W/jiJc00HYBZX7kFjxjQv0
                Etc/UTC
                300
                pool.ntp.org
                
                        http
                        
                
                
                
                
                
                
                
                
                
                
        
        
                
                        sis0
                        192.168.1.1
                        24
                        
                        
                        
                
                
                        sis1
                        dhcp
                        
                        
                        
                        
                        
                        
                        
                        
                
                
        
        
        
                
        
        
                
                
                
                
        
        
                
                
                
                
                
                
        
        
                
                
                
                
                
        
        
                
                dyndns
                
                
                
                
                
                
                
        
        
                
        
        
                
                        
                        
                                192.168.1.100
                                192.168.1.199
                        
                        
                
                
        
        
                
                
                
                
                
                
                
                
        
        
                
                
        
        
                
                
                
                public
                
        
        
                
                        
                        
                
                
        
        
                
        
        
                
        
        
        
                
                
                
                
        
        
                
                
                
                
                        pass
                        Default LAN -> any
                        lan
                        
                                lan