Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Firewall

Controls firewall configuration - filters, masquerade, port forwarding.

Hierarchy

  • Firewall

Index

Constructors

Properties

cmds?: string[] = []

Additional nftables commands to execute after other firewall settings are applied. Example: "nft add rule ..." ("nft " prefix is mandatory)

filter?: boolean = true

Whether to use firewall filters to block traffic from WAN.

forwarding?: Forwarding[] = []

Setup rules for port forwarding.

masquerade?: boolean = true

Whether to use NAT masquerade.

Generated using TypeDoc