mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-10 18:38:22 +00:00
Rename netfilter to firewall
This commit is contained in:
parent
be852d0655
commit
a9985b27f7
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ package definitions
|
|||
|
||||
type Config struct {
|
||||
ConfigVersion uint64 `json:"config_version"`
|
||||
Netfilter Netfilter `json:"netfilter"`
|
||||
Firewall Firewall `json:"firewall"`
|
||||
Addresses map[string]Address `json:"addresses"`
|
||||
Services map[string]Service `json:"services"`
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package definitions
|
||||
|
||||
type Netfilter struct {
|
||||
type Firewall struct {
|
||||
ForwardRules []ForwardRule `json:"forward_rules"`
|
||||
DestinationNATRules []DestinationNATRule `json:"destination_nat_rules"`
|
||||
SourceNATRules []SourceNATRule `json:"source_nat_rules"`
|
||||
|
|
Loading…
Add table
Reference in a new issue