Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
9278 Weergaven

I am taking backups of a production system and I keep having to disable the email servers and the cron jobs.

Is there a way to block the email ports (in fact ALL ports other than 8069 and 22)?

Avatar
Annuleer

Can you please execute below command

sudo ufw allow 8069

Beste antwoord

If your server is Ubuntu based, checkout ufw - Uncomplicated Firewall

https://help.ubuntu.com/community/UFW

This is what I do:

sudo ufw enable

sudo ufw deny outgoing
sudo ufw deny incoming

sudo ufw allow 22
sudo ufw allow 8069
sudo ufw allow 8072

sudo ufw allow out http
sudo ufw allow out https



Avatar
Annuleer