diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-04-05 02:09:22 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-04-05 02:09:22 +0000 |
commit | e1b417ee76bd97a05854f4304cef3f73e9da633b (patch) | |
tree | f5913675e5868c535c007efb3e09a01ce6890287 /package/iptables/files/firewall.config | |
parent | 42269e22a8b817e1e6bc2c9cbb2f03df31221458 (diff) | |
download | upstream-e1b417ee76bd97a05854f4304cef3f73e9da633b.tar.gz upstream-e1b417ee76bd97a05854f4304cef3f73e9da633b.tar.bz2 upstream-e1b417ee76bd97a05854f4304cef3f73e9da633b.zip |
large init script cleanup and merge of whiterussian changes, new dnsmasq config handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3588 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iptables/files/firewall.config')
-rw-r--r-- | package/iptables/files/firewall.config | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/package/iptables/files/firewall.config b/package/iptables/files/firewall.config new file mode 100644 index 0000000000..7edd4ba4e4 --- /dev/null +++ b/package/iptables/files/firewall.config @@ -0,0 +1,46 @@ +# RULE SYNTAX: +# +# forward:<match>:<target>[:<port>] +# - forwards all packets matched by <match> to <target>, +# optionally changing the port to <port> +# +# accept:<match> +# - accepts all traffic matched by <match> +# +# drop:<match> +# - drops all traffic matched by <match> +# +# +# MATCHING OPTIONS: +# +# src=<ip> +# - match the source ip <ip> +# +# dest=<ip> +# - match the destination ip <ip> +# +# proto=<proto> +# - match the protocol by name or number +# +# sport=<port(s)> +# - match the source port(s), see below for syntax +# +# dport=<port(s)> +# - match the destination port(s), see below for syntax +# +# +# +# PORT SYNTAX: +# +# You can enter an arbitrary list of ports and port ranges in the following format: +# - 22,53,993,1000-1024 +# +# If you don't set the protocol to tcp or udp, it will apply to both +# +# +# +# EXAMPLES: +# +# drop:dport=22 src=1.3.3.7 +# accept:proto=tcp dport=22 +# forward:dport=60168:192.168.1.2:60169 |