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

 

 

 

Iptables File & Directory

Linux Kernel, Network, and Services configuration.
Message
Author
KitchM
Posts: 175
Joined: 2019-06-11 18:11

Re: Iptables File & Directory

#21 Post by KitchM »

Regarding the other issue I mentioned in passing having to do with ease of reading and editing the tables. This is the contents of /etc/nftables.conf:
#!/usr/sbin/nft -f

flush ruleset

table inet filter {
chain input {
type filter hook input priority 0;
}
chain forward {
type filter hook forward priority 0;
}
chain output {
type filter hook output priority 0;
}
}

This is the output of iptables -L:
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

I must say I like the second one better. But of course that is somewhat beside the point. I much prefer a GUI for editing the tables. I haven't found a good one, but hopefully Webmin will have a decent one soon.

KitchM
Posts: 175
Joined: 2019-06-11 18:11

Re: Iptables File & Directory

#22 Post by KitchM »

By the way, does the nft command have to be installed, or is it supposed to come automatically with any OS that uses nftables? I know it is not installed on my Debian 10.

KitchM
Posts: 175
Joined: 2019-06-11 18:11

Re: Iptables File & Directory

#23 Post by KitchM »

Oops. My mistake. Nft is installed in Debian 10 by default. However, it may not be in some other distros based on Debian, such as Raspian.

My thanks to everyone who helped with this question.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Iptables File & Directory

#24 Post by p.H »

KitchM wrote:Nft is installed in Debian 10 by default.
Not on my installations.

Post Reply