How can I consolidate this two rules in just one iptables rule?
iptables -A FORWARD -d 192.168.1.64/26 -j ACCEPT iptables -A FORWARD -s 192.168.1.64/26 -j ACCEPT
What I was looking here was some way to get something similar to
tcpdump host 22.214.171.124 (match source or destination in one parameter/rule).
Thanks for @Zoredache who stated that such thing doesn't exist in iptables. What motivated my question was that was hard to believe that when I googled it I didn't find anything (and such synteax sugar could simplify/reduce iptables rules set a lot in some cases), so I asked this question here to be sure.
I thought that this is a fair question and that is correct to downvote anybody that try to give an answer that clearly doesn't address my simple question.
Was not my intention be rude neither offend anybody who was trying to help, I was just trying to encourage pertinent and good answers (like what @Zoredache gave me) on this site. How people react to my downvote show me that such attitudes aren't the way to go in this community and I apologize for that.