P
P
P7472019-11-29 01:32:23
firewall
P747, 2019-11-29 01:32:23

How to add city ip range to Ubuntu firewall?

Good afternoon, because rule ip address internet provider provides dynamic. Constantly having to add a new ip address to the firewall exceptions for the port. Is it possible to prescribe, for example, an ip range for a city so that the firewall provides access to all ips of this city?

sudo ufw allow proto tcp from {IP} to any port {порт}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question