Rafael Dewes wrote: Friends, I am using iptables 1.5.7 + linux kernel 2.6.20.2 and the last patch-o-magic. But, when I exec this rule iptables -I INPUT -s 192.168.0.0/24 -p tcp --dport 21 -j ACCEPT Try this. iptables -I INPUT -s 192.168.0.0/24 -p tcp -m tcp --dport 21 -j ACCEPTMany of these types of filters can be found in the man page. Look for MATCH EXTENSIONS. hth, :m) |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Iptables - Error: No chain/target/match by that name, Rafael Dewes |
|---|---|
| Next by Date: | Re: Iptables - Error: No chain/target/match by that name, dhottinger |
| Previous by Thread: | Iptables - Error: No chain/target/match by that name, Rafael Dewes |
| Next by Thread: | Re: Iptables - Error: No chain/target/match by that name, dhottinger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |