mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Fix firewall command syntax
This commit is contained in:
parent
6ebc92f514
commit
7083920622
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ Then restart the iptables firewall and close the old port in iptables.
|
|||
|
||||
```bash
|
||||
yunohost firewall reload
|
||||
yunohost firewall disallow <your_old_ssh_port_number> # port by default 22
|
||||
yunohost firewall disallow TCP <your_old_ssh_port_number> # port by default 22
|
||||
```
|
||||
|
||||
You also need to give fail2ban the new SSH port.
|
||||
|
|
Loading…
Reference in a new issue