# Configuration file for the OpenWrt firewall # # RULE SYNTAX: # # forward::[:] # - forwards all packets matched by to , # optionally changing the port to # # accept: # - accepts all traffic matched by # # drop: # - drops all traffic matched by # # # MATCHING OPTIONS: # # src= # - match the source ip # # dest= # - match the destination ip # # proto= # - match the protocol by name or number # # sport= # - match the source port(s), see below for syntax # - requires proto=tcp or proto=udp # # dport= # - match the destination port(s), see below for syntax # - requires proto=tcp or proto=udp # # layer7= # - match the layer7 filter # # EXAMPLES: # # drop:proto=tcp dport=22 src=some.bad.host # accept:proto=tcp dport=22 # forward:proto=tcp dport=60168:192.168.1.2