Oups, désolé, je me suis trompé pour le retour de "ip6tables -L -n -v" avec le 1er script...
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all lo * ::/0 ::/0
0 0 DROP all * * ::/0 ::/0 state INVALID
0 0 INPUT_TCP tcp * * ::/0 ::/0
0 0 INPUT_UDP udp * * ::/0 ::/0
0 0 INPUT_ICMP icmp * * ::/0 ::/0
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy DROP 7 packets, 460 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all * lo ::/0 ::/0
0 0 OUTPUT_TCP tcp * * ::/0 ::/0
0 0 OUTPUT_UDP udp * * ::/0 ::/0
0 0 OUTPUT_ICMP icmp * * ::/0 ::/0
Chain CHECK_BAD_TCP (1 references)
pkts bytes target prot opt in out source destination
0 0 DROP tcp * * ::/0 ::/0 state NEW,RELATED tcpflags:! 0x3F/0x02
0 0 DROP tcp * * ::/0 ::/0 tcpflags: 0x3F/0x00
0 0 DROP tcp * * ::/0 ::/0 tcpflags: 0x3F/0x3F
0 0 DROP tcp * * ::/0 ::/0 tcpflags: 0x3F/0x29
0 0 DROP tcp * * ::/0 ::/0 tcpflags: 0x3F/0x37
0 0 DROP tcp * * ::/0 ::/0 tcpflags: 0x06/0x06
0 0 DROP tcp * * ::/0 ::/0 tcpflags: 0x03/0x03
0 0 RETURN all * * ::/0 ::/0
Chain INPUT_ICMP (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 129 state ESTABLISHED
0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 1 state RELATED
0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 3 state RELATED
Chain INPUT_TCP (1 references)
pkts bytes target prot opt in out source destination
0 0 CHECK_BAD_TCP all * * ::/0 ::/0
0 0 ACCEPT tcp * * ::/0 ::/0 tcpflags:! 0x17/0x02 state ESTABLISHED
0 0 ACCEPT tcp * * ::/0 ::/0 tcp spt:20 state RELATED
Chain INPUT_UDP (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT udp * * ::/0 ::/0 multiport sports 53,123 state ESTABLISHED
0 0 ACCEPT udp * * ::/0 ::/0 udp spt:67 dpt:68 state ESTABLISHED
Chain OUTPUT_ICMP (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 128 state NEW
Chain OUTPUT_TCP (1 references)
pkts bytes target prot opt in out source destination
0 0 DROP tcp * * ::/0 ::/0 state NEW,RELATED tcpflags:! 0x3F/0x02
0 0 ACCEPT tcp * * ::/0 ::/0 state RELATED
0 0 ACCEPT tcp * * ::/0 ::/0 tcpflags:! 0x17/0x02 state ESTABLISHED
0 0 ACCEPT tcp * * ::/0 ::/0 tcp spts:1024:65535 multiport dports 21,80,443,995,587,465,5222,1863 state NEW
Chain OUTPUT_UDP (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT udp * * ::/0 ::/0 state ESTABLISHED
0 0 ACCEPT udp * * ::/0 ::/0 udp spt:68 dpt:67
0 0 ACCEPT udp * * ::/0 ::/0 udp dpt:123
0 0 ACCEPT udp * * ::/0 ::/0 udp dpt:53
[mathieu@sanzo ~]$ su -c 'ip6tables -L -n -v'
Mot de passe :
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all lo * ::/0 ::/0
0 0 DROP all * * ::/0 ::/0 state INVALID
0 0 INPUT_TCP tcp * * ::/0 ::/0
0 0 INPUT_UDP udp * * ::/0 ::/0
0 0 INPUT_ICMP icmp * * ::/0 ::/0
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy DROP 7 packets, 460 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all * lo ::/0 ::/0
0 0 OUTPUT_TCP tcp * * ::/0 ::/0
0 0 OUTPUT_UDP udp * * ::/0 ::/0
0 0 OUTPUT_ICMP icmp * * ::/0 ::/0
Chain CHECK_BAD_TCP (1 references)
pkts bytes target prot opt in out source destination
0 0 DROP tcp * * ::/0 ::/0 state NEW,RELATED tcpflags:! 0x3F/0x02
0 0 DROP tcp * * ::/0 ::/0 tcpflags: 0x3F/0x00
0 0 DROP tcp * * ::/0 ::/0 tcpflags: 0x3F/0x3F
0 0 DROP tcp * * ::/0 ::/0 tcpflags: 0x3F/0x29
0 0 DROP tcp * * ::/0 ::/0 tcpflags: 0x3F/0x37
0 0 DROP tcp * * ::/0 ::/0 tcpflags: 0x06/0x06
0 0 DROP tcp * * ::/0 ::/0 tcpflags: 0x03/0x03
0 0 RETURN all * * ::/0 ::/0
Chain INPUT_ICMP (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 129 state ESTABLISHED
0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 1 state RELATED
0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 3 state RELATED
Chain INPUT_TCP (1 references)
pkts bytes target prot opt in out source destination
0 0 CHECK_BAD_TCP all * * ::/0 ::/0
0 0 ACCEPT tcp * * ::/0 ::/0 tcpflags:! 0x17/0x02 state ESTABLISHED
0 0 ACCEPT tcp * * ::/0 ::/0 tcp spt:20 state RELATED
Chain INPUT_UDP (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT udp * * ::/0 ::/0 multiport sports 53,123 state ESTABLISHED
0 0 ACCEPT udp * * ::/0 ::/0 udp spt:67 dpt:68 state ESTABLISHED
Chain OUTPUT_ICMP (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 128 state NEW
Chain OUTPUT_TCP (1 references)
pkts bytes target prot opt in out source destination
0 0 DROP tcp * * ::/0 ::/0 state NEW,RELATED tcpflags:! 0x3F/0x02
0 0 ACCEPT tcp * * ::/0 ::/0 state RELATED
0 0 ACCEPT tcp * * ::/0 ::/0 tcpflags:! 0x17/0x02 state ESTABLISHED
0 0 ACCEPT tcp * * ::/0 ::/0 tcp spts:1024:65535 multiport dports 21,80,443,995,587,465,5222,1863 state NEW
Chain OUTPUT_UDP (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT udp * * ::/0 ::/0 state ESTABLISHED
0 0 ACCEPT udp * * ::/0 ::/0 udp spt:68 dpt:67
0 0 ACCEPT udp * * ::/0 ::/0 udp dpt:123
0 0 ACCEPT udp * * ::/0 ::/0 udp dpt:53
Je poste aussi pour le 2nd script:
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
31 23308 ACCEPT all * * ::/0 ::/0 state RELATED,ESTABLISHED
0 0 ACCEPT all lo * ::/0 ::/0
0 0 DROP all * * ::/0 ::/0 state INVALID
1 136 ACCEPT icmpv6 * * fe80::/64 ::/0 ipv6-icmptype 134 code 0
0 0 DROP !icmpv6 * * ::/0 ::/0 state INVALID
3 216 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 135 code 0
2 136 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 136 code 0
0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 128 code 0
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all * * ::/0 ::/0 state RELATED,ESTABLISHED
0 0 DROP all * * ::/0 ::/0 state INVALID
0 0 DROP !icmpv6 * * ::/0 ::/0 state INVALID
0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 128 code 0
Chain OUTPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
28 2733 ACCEPT all * * ::/0 ::/0 state RELATED,ESTABLISHED
0 0 ACCEPT all * lo ::/0 ::/0
0 0 DROP all * * ::/0 ::/0 state INVALID
1 56 ACCEPT icmpv6 * * ::/0 ff02::/16 ipv6-icmptype 133 code 0
0 0 DROP !icmpv6 * * ::/0 ::/0 state INVALID
5 400 ACCEPT icmpv6 * * ::/0 ff02::/16 ipv6-icmptype 143 code 0
5 336 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 135 code 0
3 192 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 136 code 0
0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 128 code 0
6 464 ACCEPT udp * * ::/0 2000::/3 udp spts:1024:65535 dpt:53 state NEW
0 0 ACCEPT tcp * * ::/0 2000::/3 tcp spts:1024:65535 dpt:53flags: 0x17/0x02 state NEW
2 160 ACCEPT tcp * * ::/0 2000::/3 tcp spts:1024:65535 dpt:80flags: 0x17/0x02 state NEW
0 0 ACCEPT tcp * * ::/0 2000::/3 tcp spts:1024:65535 dpt:443flags: 0x17/0x02 state NEW
[mathieu@sanzo ~]$ su -c 'ip6tables -L -n -v'
Mot de passe :
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
33 23466 ACCEPT all * * ::/0 ::/0 state RELATED,ESTABLISHED
0 0 ACCEPT all lo * ::/0 ::/0
0 0 DROP all * * ::/0 ::/0 state INVALID
1 136 ACCEPT icmpv6 * * fe80::/64 ::/0 ipv6-icmptype 134 code 0
0 0 DROP !icmpv6 * * ::/0 ::/0 state INVALID
5 360 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 135 code 0
4 264 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 136 code 0
0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 128 code 0
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all * * ::/0 ::/0 state RELATED,ESTABLISHED
0 0 DROP all * * ::/0 ::/0 state INVALID
0 0 DROP !icmpv6 * * ::/0 ::/0 state INVALID
0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 128 code 0
Chain OUTPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
28 2733 ACCEPT all * * ::/0 ::/0 state RELATED,ESTABLISHED
0 0 ACCEPT all * lo ::/0 ::/0
0 0 DROP all * * ::/0 ::/0 state INVALID
1 56 ACCEPT icmpv6 * * ::/0 ff02::/16 ipv6-icmptype 133 code 0
0 0 DROP !icmpv6 * * ::/0 ::/0 state INVALID
5 400 ACCEPT icmpv6 * * ::/0 ff02::/16 ipv6-icmptype 143 code 0
7 480 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 135 code 0
5 320 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 136 code 0
0 0 ACCEPT icmpv6 * * ::/0 ::/0 ipv6-icmptype 128 code 0
8 606 ACCEPT udp * * ::/0 2000::/3 udp spts:1024:65535 dpt:53 state NEW
0 0 ACCEPT tcp * * ::/0 2000::/3 tcp spts:1024:65535 dpt:53flags: 0x17/0x02 state NEW
2 160 ACCEPT tcp * * ::/0 2000::/3 tcp spts:1024:65535 dpt:80flags: 0x17/0x02 state NEW
0 0 ACCEPT tcp * * ::/0 2000::/3 tcp spts:1024:65535 dpt:443flags: 0x17/0x02 state NEW
Désolé de repondre que maintenant...