Skip to content

Commit

Permalink
Firewall: Automation: Filter - add allowopts for #8143
Browse files Browse the repository at this point in the history
  • Loading branch information
AdSchellevis committed Dec 24, 2024
1 parent 0d9550b commit e6440cb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@
When a rule does not have quick enabled, the last matching rule wins.
</help>
</field>
<field>
<id>rule.allowopts</id>
<label>Allow options</label>
<type>checkbox</type>
<help>This allows packets with IP options to pass. Otherwise they are blocked by default.</help>
<advanced>true</advanced>
</field>
<field>
<id>rule.interfacenot</id>
<label>Interface / Invert</label>
Expand Down
4 changes: 4 additions & 0 deletions src/opnsense/mvc/app/models/OPNsense/Firewall/Filter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@
<Default>0</Default>
<Required>Y</Required>
</log>
<allowopts type="BooleanField">
<Default>0</Default>
<Required>Y</Required>
</allowopts>
<nosync type="BooleanField">
<Default>0</Default>
<Required>Y</Required>
Expand Down

0 comments on commit e6440cb

Please sign in to comment.