mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-11 02:48:21 +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 {
|
type Config struct {
|
||||||
ConfigVersion uint64 `json:"config_version"`
|
ConfigVersion uint64 `json:"config_version"`
|
||||||
Netfilter Netfilter `json:"netfilter"`
|
Firewall Firewall `json:"firewall"`
|
||||||
Addresses map[string]Address `json:"addresses"`
|
Addresses map[string]Address `json:"addresses"`
|
||||||
Services map[string]Service `json:"services"`
|
Services map[string]Service `json:"services"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package definitions
|
package definitions
|
||||||
|
|
||||||
type Netfilter struct {
|
type Firewall struct {
|
||||||
ForwardRules []ForwardRule `json:"forward_rules"`
|
ForwardRules []ForwardRule `json:"forward_rules"`
|
||||||
DestinationNATRules []DestinationNATRule `json:"destination_nat_rules"`
|
DestinationNATRules []DestinationNATRule `json:"destination_nat_rules"`
|
||||||
SourceNATRules []SourceNATRule `json:"source_nat_rules"`
|
SourceNATRules []SourceNATRule `json:"source_nat_rules"`
|
||||||
|
|
Loading…
Add table
Reference in a new issue