1 # Copyright (C) 2006 OpenWrt.org
5 # forward:<match>:<target>[:<port>]
6 # - forwards all packets matched by <match> to <target>,
7 # optionally changing the port to <port>
10 # - accepts all traffic matched by <match>
13 # - drops all traffic matched by <match>
19 # - match the source ip <ip>
22 # - match the destination ip <ip>
25 # - match the protocol by name or number
28 # - match the source port(s), see below for syntax
31 # - match the destination port(s), see below for syntax
37 # You can enter an arbitrary list of ports and port ranges in the following format:
38 # - 22,53,993,1000-1024
40 # If you don't set the protocol to tcp or udp, it will apply to both
46 # drop:dport=22 src=1.3.3.7
47 # accept:proto=tcp dport=22
48 # forward:dport=60168:192.168.1.2:60169