Hello, wlagmay@yanbulink.net a écrit : I just want to know How am I going to do a blocking of multiple ports on a single line let say port 700 to 800. Im trying this command but it is not working iptables -A OUTPUT -p tcp -m state --state NEW -m tcp --dport 700-800 -j DROP iptables -A OUTPUT -p tcp -m state --state NEW -m tcp --dport 700 --to 800 -j DROP man iptables says the port range syntax in port matches is "700:800". The port range syntax "700-800" is used only in NAT targets. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Help on Iptables, wlagmay |
|---|---|
| Next by Date: | Re: looking for a tool to handle initial configuration of a firewall, Martijn Lievaart |
| Previous by Thread: | Help on Iptables, wlagmay |
| Next by Thread: | Re: Help on Iptables, wlagmay |
| Indexes: | [Date] [Thread] [Top] [All Lists] |