IP6tables does not support SRC/DST port ranges in RHEL5
Issue
-
The version of ip6tables available in RHEL 5 doesn't properly support port ranges with the -m multiport flag.
# ip6tables -A INPUT -p TCP -m multiport --dports 32768:65535 -j ACCEPT ip6tables v1.3.5: invalid port/service `32768:65535' specified Try `ip6tables -h' or 'ip6tables --help' for more information. -
Option -m multiport will work if --dports or --sports are listed with commas i.e --dport smtp,ssh,http . It's just the range with the colon that isn't accepted.
- Can it be updated with a patch
- The ip6tables coming with rhel 6 does work.
Environment
- Red Hat Enterprise Linux (RHEL) 5
- ip6tables v1.3.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
