accolito
Occasional Visitor
Hallo gentlemen.
I tried to make an iptable rule to block an ipset with my asusmerlin rtn66u:
iptables -I FORWARD 2 -m set --set MYRULESET src,dst -j DROP
That worked but what if I want to allow http and https on that specific set?
I tried to add another rule before that one but it won't work:
iptables -A FORWARD -m set --set MYRULESET src,dst -p tcp --dport 80 -j ACCEPT
Can someone help me?
Thanks in advance for your attention.
I tried to make an iptable rule to block an ipset with my asusmerlin rtn66u:
iptables -I FORWARD 2 -m set --set MYRULESET src,dst -j DROP
That worked but what if I want to allow http and https on that specific set?
I tried to add another rule before that one but it won't work:
iptables -A FORWARD -m set --set MYRULESET src,dst -p tcp --dport 80 -j ACCEPT
Can someone help me?
Thanks in advance for your attention.