[olug] How can I sever IPtables established connections for only certain IPs?

Steve Litt slitt at troubleshooters.com
Thu May 25 17:27:36 CDT 2023


Lou Duchez said on Tue, 23 May 2023 14:15:26 -0400

>Perhaps now's the time to take the plunge with nftables. The sample I 
>provided is a working sample - I actually ran it on my router to make 
>sure it works - and other than tweaking IP addresses to your purposes, 
>it should be ready to go. I think you'd just drop a couple lines like 
>this in my_filter_forward:
>
>ip saddr 192.168.1.240 drop
>ip daddr 192.168.1.240 drop

What's special about 192.168.1.240 ?

SteveT

Steve Litt 
Autumn 2022 featured book: Thriving in Tough Times
http://www.troubleshooters.com/bookstore/thrive.htm


More information about the OLUG mailing list