1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-01-09 01:18:00 +03:00
libvirt/tests/nwfilterxml2firewalldata/icmp-direction2-linux.args

34 lines
423 B
Plaintext
Raw Permalink Normal View History

iptables \
-A FP-vnet0 \
-p icmp \
--icmp-type 8 \
-m state \
--state NEW,ESTABLISHED \
-j ACCEPT
iptables \
-A FJ-vnet0 \
-p icmp \
--icmp-type 0 \
-m state \
--state NEW,ESTABLISHED \
-j RETURN
iptables \
-A HJ-vnet0 \
-p icmp \
--icmp-type 0 \
-m state \
--state NEW,ESTABLISHED \
-j RETURN
iptables \
-A FJ-vnet0 \
-p icmp \
-j DROP
iptables \
-A FP-vnet0 \
-p icmp \
-j DROP
iptables \
-A HJ-vnet0 \
-p icmp \
-j DROP