Daily Shaarli

All links of one day in a single page.

February 15, 2018

Making dnf/yum Not Update Certain Packages - SysTutorials
thumbnail

Beurk :
exclude=kernel nss nss-
Package names are separated by a space. Shell globs using wildcards (eg. * and ?) are allowed.
For dnf, the configuration file is located under:
/etc/dnf/dnf.conf

linux - How to block all ports except 80,443 with iptables? - Super User
thumbnail

par exemple :
iptables -A INPUT -p tcp -m tcp -m multiport ! --dports 22 -j DROP
iptables -A INPUT -p tcp -m tcp -m multiport ! --dports 80,443 -j DROP