Bonjour,
J’essaie de configurer mon pare-feu avec iptables mais je n’arrive plus à me connecter à internet (sauf sur Youtube bizarrement)
Voici ma config:
[code]Chain INPUT (policy DROP 8 packets, 313 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp – any any anywhere anywhere tcp dpt:ssh
0 0 ACCEPT tcp – any any anywhere anywhere tcp dpt:http
0 0 ACCEPT tcp – any any anywhere anywhere tcp dpt:imap2
0 0 ACCEPT icmp – any any anywhere anywhere
0 0 ACCEPT all – lo any anywhere anywhere
0 0 ACCEPT all – any any anywhere anywhere state RELATED,ESTABLISHED
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination [/code]
Et voici mes interfaces réseau
[code]eth0 Link encap:Ethernet HWaddr ac:22:0b:8b:c7:8c
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:25 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:3027 (2.9 KiB) TX bytes:3027 (2.9 KiB)
wlan0 Link encap:Ethernet HWaddr a4:db:30:14:d8:50
inet adr:192.168.1.64 Bcast:192.168.1.255 Masque:255.255.255.0
adr inet6: 2a02:8422:3f00:5500:a6db:30ff:fe14:d850/64 Scope:Global
adr inet6: fe80::a6db:30ff:fe14:d850/64 Scope:Lien
adr inet6: 2a02:8422:3f00:5500:b887:c632:5ea2:572b/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10352 errors:0 dropped:0 overruns:0 frame:0
TX packets:8166 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:9473983 (9.0 MiB) TX bytes:1666056 (1.5 MiB)
[/code]
En espérant que quelqu’un trouve le problème