Re: nftables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



http://wiki.nftables.org/wiki-nftables/index.php/Scripting

I think you should follow this guide and I send to example link to below.

https://github.com/chr0mag/geoipsets


Fatih USTA

On 28.04.2020 11:33, Patrick Greiff wrote:
hi many thanks i was looking for that :)
have a few more questions. I am still a beginner in the field and so I
just learn ^^.
I created nft add set ip filter blackhole {type ipv4_addr \;} and
introduced an ip. but where is this file located?
nft add rule ip filter input ip saddr @blackhole drop do I have to add
this to my main.conf? or in the standard nftables.conf.

Am 28.04.2020 um 09:50 schrieb Fatih USTA:
Hi

You can use sets in nftables like iptables ipset.

http://wiki.nftables.org/wiki-nftables/index.php/Sets


Fatih USTA

On 28.04.2020 10:38, Patrick Greiff wrote:
Hi everyone,
i have a question about nftables.
at iptables i had a blacklist where i wrote in the ip that wanted to
hack me.
how can I integrate something into nftables? and also restart when the
ips are updated.




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux