What's new

Custom iptables rules cause router crash and reboot.

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

maidmeow4

Occasional Visitor
Router: RT-AC66U B1 with merlin 386.3_2
I have some custom iptables rules to block some ip addresses, on merlin 384 these rules works fine, but on merlin 386, once the rules were triggered, the router crashed and reboots.
No matter how I add these iptables rules (firewall-start or directly from ssh).
Here are the custom rules I made:
Code:
iptables -I FORWARD -p tcp -d 120.92.215.64 --dport 80 -j REJECT --reject-with tcp-reset
iptables -I FORWARD -p tcp -d 182.254.116.116 --dport 80 -j REJECT --reject-with tcp-reset
iptables -I FORWARD -p tcp -d 119.29.29.29 --dport 80 -j REJECT --reject-with tcp-reset
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top