Hi,
Currently using Asus Merlin on AC68U. If I want to block a specific IP and port via iptables, should it be inserted on FORWARD or NSFW?
on FORWARD
iptables -I FORWARD -s 1.1.1.1/32 -i br0 -o vlan2 -p tcp -m tcp --dport 853 -j DROP
on NSFW
iptables -I NSFW -s 1.1.1.1/32 -i br0 -o vlan2 -p tcp -m tcp --dport 853 -j DROP
Also for the jffs/scrips, should I insert the line on nat-start or firewall-start?
Currently using Asus Merlin on AC68U. If I want to block a specific IP and port via iptables, should it be inserted on FORWARD or NSFW?
on FORWARD
iptables -I FORWARD -s 1.1.1.1/32 -i br0 -o vlan2 -p tcp -m tcp --dport 853 -j DROP
on NSFW
iptables -I NSFW -s 1.1.1.1/32 -i br0 -o vlan2 -p tcp -m tcp --dport 853 -j DROP
Also for the jffs/scrips, should I insert the line on nat-start or firewall-start?