Re: [uml-user] A question on iptables

2006-11-14 Thread Gordon Russell
You can see that your default policy is ACCEPT, so your rule: > iptables -A FORWARD -p icmp -m limit --limit 1/m -j ACCEPT will accept the packets in the limit, and if it is out of the limit the packet is accepted by the default policy. > Chain FORWARD (policy ACCEPT) Instead you can do: iptab

[uml-user] A question on iptables

2006-11-14 Thread yiran.gao
I want to use iptables on UML. The topology is that: 1-23 I set limition at 2 and send ping from 1 to 3. I tried this command at 2: iptables -A FORWARD -p icmp -m limit --limit 1/m -j ACCEPT to add the limition to the icmp packet. But I find it I can still send ping packet as much as I

Re: [uml-user] A question on iptables

2006-11-14 Thread Matthew T. Engel
Not sure if I understand the problem but, perhaps at node 2 this will help... #Disable acceptance of ICMP PACKETS echo 0 > /proc/sys/net/ipv4/conf/all/accept_redirects - Using Tomcat but need to do more? Need to support web