Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Documentation and Translation
(Moderator:
fabian
) »
Documentation of config.xml settings
« previous
next »
Print
Pages: [
1
]
Author
Topic: Documentation of config.xml settings (Read 6424 times)
brolf
Newbie
Posts: 4
Karma: 0
Documentation of config.xml settings
«
on:
July 21, 2020, 10:28:19 am »
Is there a source of documentation regarding possible settings in /conf/config.xml?
I want to write a tool to migrate parts of a fortigate configuration into OPNsense and therefore I'm especially interested in documentation regarding firewall rules.
I found
https://github.com/opnsense/core/blob/master/src/etc/config.xml.sample
but there is not much documentation about firewall rules.
Logged
mimugmail
Hero Member
Posts: 6765
Karma: 494
Re: Documentation of config.xml settings
«
Reply #1 on:
July 21, 2020, 10:41:01 am »
Just create a bunch of rules on all interfaces (also floating) and check contents.
There is no doc of how config.xml style is generated.
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
fabian
Moderator
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: Documentation of config.xml settings
«
Reply #2 on:
July 21, 2020, 10:05:50 pm »
Just create a floating rule and a normal rule fully and empty and then compare.
Some default values are not written to config xml but I think that does not hurt.
Logged
brolf
Newbie
Posts: 4
Karma: 0
Re: Documentation of config.xml settings
«
Reply #3 on:
July 22, 2020, 04:53:45 pm »
Thank you for the suggestions, I'm making some progress now.
edit: fixed typo
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Documentation and Translation
(Moderator:
fabian
) »
Documentation of config.xml settings