mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
42 lines
1.2 KiB
Markdown
42 lines
1.2 KiB
Markdown
---
|
|
sidebar_position: 4
|
|
---
|
|
|
|
# Firewall
|
|
|
|
View and edit firewall (UFW) rules
|
|
|
|

|
|
|
|
The firewall settings page provides three tabs:
|
|
|
|
- IPv4 - that lists all IPv4 firewall rules
|
|
- IPv6 - that lists all IPv6 firewall rules
|
|
- Logs - displays the UFW service log
|
|
|
|
## View existing rules
|
|
|
|
The table shows firewall rules, showcasing information such as rule ID, action, ports, source/destination IP, and the username of the user utilizing the port.
|
|
For IPv6 rules, navigate to the IPv6 tab.
|
|
|
|

|
|
|
|
## Add Rules
|
|
|
|
To create a new rule click on the 'New Rule' button and in the modal choose 'ALLOW' to allow the IP address or port, and 'DENY' to block access for IP address or port.
|
|
|
|

|
|
|
|
## Delete Rules
|
|
|
|
To delete a rule click on the 'Delete' link next to it, and in the confirmaiton modal click on 'Delete' button.
|
|
|
|

|
|
|
|
|
|
## View logs
|
|
|
|
For logs, navigate to the 'Logs' tab.
|
|
|
|

|