All Questions
3 questions
0
votes
1
answer
237
views
Allow only SYN packets to port 80 matching an ipset
I have an ipset named allowList.
I want to allow every connection to my machine on every port but port 80, which there I want to allow connections only to the ipset: allowList.
I want to target only ...
1
vote
3
answers
6k
views
Ipset with Iptables with large list of IP ranges (CIDR)
I have read some answers here about blocking IP address ranges, and have already used iptables for this purpose before. It is suggested to use ipset in combination with iptables.
I have only ...
4
votes
1
answer
8k
views
How to block both IPv4 and IPv6 with ipset on Ubuntu 16.04?
So I have the following script that blocks IPs:
#!/bin/bash
# here's your list of IPS
CURRENT_BL=/path/to/my/ip_black_list.txt
# create/flush recreate the tables
iptables -F BLACKHOLE
iptables -N ...