firewall-cmd Verified for current stable LTS

Firewall Cmd Command: Forward Port Incoming Packets Permanently Linux

Use for forward port incoming packets permanently linux with Firewall Cmd. Exact CLI syntax to forward port incoming packets permanently linux using Firewall Cmd.

When to use this: Use for forward port incoming packets permanently linux with Firewall Cmd.

Command Syntax

firewall-cmd --permanent --zone <public> --add-rich-rule 'rule family "<ipv4|ipv6>" forward-port port "<443>" protocol "<udp|tcp>" to-port "<8443>"'

Live Command Builder

Final Command

firewall-cmd --permanent --zone <public> --add-rich-rule 'rule family "<ipv4|ipv6>" forward-port port "<443>" protocol "<udp|tcp>" to-port "<8443>"'

Command Breakdown

--permanent
Command Option
Tool-specific option used by this command invocation.
--zone
Command Option
Tool-specific option used by this command invocation.
--add-rich-rule
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to forward port incoming packets permanently linux using Firewall Cmd.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Firewall Cmd directory