What's new

Dual WAN configuration and firewall

  • 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!

Denna

Senior Member
Scenario: The router's WAN and USB (Android connection) ports are configured in a load balanced (dual WAN) configuration.

Does that mean you should protect the USB0 interface with iptables like you would VLAN2 (WAN port on an RT-AC88U) ?

For example:

iptables -I INPUT -i VLAN2 -m state --state NEW -j DROP

iptables -I INPUT -i USB0 -m state --state NEW -j DROP​
 
Last edited:
For those just learning to write firewall rules, removing the "-i" option will allow the rule to match on all interfaces.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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