iptables and multiple icmp rules
rillian_at_yahoo.com
Date: 02/28/05
- Next message: Jean-David Beyer: "Re: iptables and multiple icmp rules"
- Previous message: Michel Tatoute: "Re: Linux server"
- Next in thread: Jean-David Beyer: "Re: iptables and multiple icmp rules"
- Reply: Jean-David Beyer: "Re: iptables and multiple icmp rules"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Feb 2005 08:30:27 -0800
I am trying to setup iptables to allow pings from two subnets only and
rejecting the rest. I can get a rule defined and working for the first
network. When the second network rule is added, an error occurs. Below
are the two rules and the error:
Rules:
-A INPUT -p icmp -s 192.168.1.0/24 --icmp-type echo-request -j ACCEPT
-A INPUT -p icmp -s 192.168.3.0/24 --icmp-type echo-request -j ACCEPT
Error:
iptables-restore v1.2.5: Unknown Arg `--icmp-type'
Is their a limitation of one rule for each "icmp-type"?
Thanks in advance,
Ray
- Next message: Jean-David Beyer: "Re: iptables and multiple icmp rules"
- Previous message: Michel Tatoute: "Re: Linux server"
- Next in thread: Jean-David Beyer: "Re: iptables and multiple icmp rules"
- Reply: Jean-David Beyer: "Re: iptables and multiple icmp rules"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]