Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

setting a basic nftables ruleset on debian

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
vryni
Posts: 58
Joined: 2017-06-16 05:12
Been thanked: 1 time

setting a basic nftables ruleset on debian

#1 Post by vryni »

Having read about nftables being Debian's default
and preferred firewall, i installed and enabled it to launch on boot
on my Debian desktop with the commands mentioned
on Debian wiki :

(nftables in Debian the easy way
https://wiki.debian.org/nftables)

# aptitude install nftables
# systemctl enable nftables.service

Being completely uninformed on this :
Am i to conclude that my desktop is being guarded by
a default nftables ruleset ?

If not
Is there somewhere a dependable basic rulest version
i can safely copy-paste to my desktop ?

otherwise
What is the easiest way to safely create such basic defense ?
Last edited by vryni on 2020-11-08 11:00, edited 1 time in total.

reinob
Posts: 1196
Joined: 2014-06-30 11:42
Has thanked: 99 times
Been thanked: 47 times

Re: setting a basic nftables ruleset on debian

#2 Post by reinob »

You can check the output of "nft list ruleset".
If its empty, then the firewall (nftables) is not doing anything.
If you want to set-up some rule, do it at /etc/nftables.conf

If you need an example to start with, check in /usr/share/doc/nftables.
Take workstation.nft as a starting point.

Post Reply