alemayhu / 2nft

web application to use iptables-translate
https://2nft.alemayhu.com/
6 stars 0 forks source link

Fix 'Can't open socket to ipset' #7

Open aalemayhu opened 7 years ago

aalemayhu commented 7 years ago
iptables -w -I INPUT -i enp2S0 -m set --match-set country-list src -p tcp -m \
multiport ! --dports 25,80,443 -m state --state NEW -j DROP   

returns iptables-translate v1.6.1: Can't open socket to ipset.

Example from https://www.spinics.net/lists/netfilter/msg57360.html