Slavoie
Bonjour à tous
suite à de récentes modifications (installation/desinstallation de fwbuilder, desinstallation de kde), je n'ai plus accès à l'internet. Ma configuration matériel est la suivante:
Modem DSL, connecté sur routeur WiFi.
2 ordinateurs,
#1, Athlon XP 1600, fonctionnant avec FC5 (2.6.17_1.2174)
#2, Dell inspiron 8200, fonctionnant sur WinXP sp2.
L'ordinateur #2 est branché sur le routeur avec une carte pcmcia WiFi est l'internet fonctionne à merveille (je l'utilise d'ailleurs pour poser ma question). Avec ce même ordinateur, je suis en mesure de pinger l'ordinateur #1.
L'ordinateur #1 est branché avec un cable sur le routeur. Je suis en mesure de pinger l'ordinateur #2. J'ai un serveur apache-php-mysql qui roule sur cet ordinateur et je peux même accéder à ma page web à partir de l'ordinateur #2.
voici la sortie que j'obtiens avec quelques commandes clés:
[Serge@ordibure sbin]$ ./ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:50:BF:78:25:A2
inet adr:192.168.2.104 Bcast:192.168.2.255 Masque:255.255.255.0
adr inet6: fe80::250:bfff:fe78:25a2/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1801343 errors:0 dropped:0 overruns:0 frame:0
TX packets:1807972 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:115284579 (109.9 MiB) TX bytes:479468244 (457.2 MiB)
Interruption:185 Adresse de base:0x2000
eth1 Link encap:Ethernet HWaddr 00:11:D8:4D:40:48
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)
Interruption:177
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:16436 Metric:1
RX packets:3046 errors:0 dropped:0 overruns:0 frame:0
TX packets:3046 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:6899423 (6.5 MiB) TX bytes:6899423 (6.5 MiB)
sit0 Link encap:IPv6-dans-IPv4
NOARP MTU:1480 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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[Serge@ordibure sbin]$ dig google.ca
; <<>> DiG 9.3.2 <<>> google.ca
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58229
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;google.ca. IN A
;; ANSWER SECTION:
google.ca. 86400 IN A 66.102.7.104
;; Query time: 27 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Sat Sep 23 18:21:45 2006
;; MSG SIZE rcvd: 43
[Serge@ordibure sbin]$ traceroute google.ca
traceroute to google.ca (66.102.7.104), 30 hops max, 40 byte packets
1 . (192.168.2.1) 3.106 ms 2.068 ms 1.266 ms
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
[root@ordibure sbin]# ./iptables --list
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Pouvez-vous m'aidez s.v.p?
Merci à l'avance
grosminet
ton ipyables est bizarre ou ton firewall est inactif ?
a titre d'exemple
iptables --list
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT ipv6-crypt-- anywhere anywhere
ACCEPT ipv6-auth-- anywhere anywhere
ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns
ACCEPT udp -- anywhere anywhere udp dpt:ipp
ACCEPT tcp -- anywhere anywhere tcp dpt:ipp
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:https
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited