bonjour,
Oui c’est bien ca depuis une connexion internet.
la configuration du routeur de la freebox : ajout du port tcp 443
Redirections / Baux DHCP
PORT EXTERNE PROTOCOLE IP DE DESTINATION PORT INTERNE
80 - TCP - 192.168.0.1 - 80
5060 - UDP - 192.168.0.1 - 5060
22 - TCP - 192.168.0.1 - 22
443 - TCP - 192.168.0.1 - 443
j’ai donc rediriger le port 443 dans la freebox sur l’ip du serveur, mais ca marche tjr pas depuis l’exterieur.
Port 80
[root@localhost laurent]# traceroute -p 80 78.xxx.xx.xxx
traceroute to 78.xxx.xx.xxx (78.xxx.xx.xxx), 30 hops max, 60 byte packets
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
[root@localhost laurent]#
“tcpdump -i eth0 port 80” n’a rien affiché ?
root@debian:~# tcpdump -i eth0 port 80
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel
root@debian:~#
Port 22
[root@localhost laurent]# traceroute -p 22 78.xxx.xx.xxx
traceroute to 78.xxx.xx.xxx (78.xxx.xx.xxx), 30 hops max, 60 byte packets
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 tou83-1-78-xxx-xx-xxx.fbx.proxad.net (78.xxx.xx.xxx) 5.463 ms * *
[root@localhost laurent]#
root@debian:~# tcpdump -i eth0 port 22 > tcpdump-test
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
^C9 packets captured
11 packets received by filter
0 packets dropped by kernel
root@debian:~#
root@debian:~# cat tcpdump-test
14:20:00.061858 IP 192.168.0.1.ssh > 192.168.0.2.45013: Flags [P.], seq 677268191:677268303, ack 325840660, win 953, options [nop,nop,TS val 1129056 ecr 15251230], length 112
14:20:00.062134 IP 192.168.0.2.45013 > 192.168.0.1.ssh: Flags [.], ack 112, win 501, options [nop,nop,TS val 15251303 ecr 1129056], length 0
14:20:00.062188 IP 192.168.0.1.ssh > 192.168.0.2.45013: Flags [P.], seq 112:160, ack 1, win 953, options [nop,nop,TS val 1129056 ecr 15251230], length 48
14:20:00.062439 IP 192.168.0.2.45013 > 192.168.0.1.ssh: Flags [.], ack 160, win 501, options [nop,nop,TS val 15251303 ecr 1129056], length 0
14:20:00.062546 IP 192.168.0.1.ssh > 192.168.0.2.45013: Flags [P.], seq 160:272, ack 1, win 953, options [nop,nop,TS val 1129056 ecr 15251303], length 112
14:20:00.062767 IP 192.168.0.2.45013 > 192.168.0.1.ssh: Flags [.], ack 272, win 501, options [nop,nop,TS val 15251303 ecr 1129056], length 0
14:20:00.062806 IP 192.168.0.1.ssh > 192.168.0.2.45013: Flags [P.], seq 272:320, ack 1, win 953, options [nop,nop,TS val 1129056 ecr 15251303], length 48
14:20:00.063057 IP 192.168.0.2.45013 > 192.168.0.1.ssh: Flags [.], ack 320, win 501, options [nop,nop,TS val 15251303 ecr 1129056], length 0
14:20:18.809585 IP 192.168.0.2.45013 > 192.168.0.1.ssh: Flags [P.], seq 1:49, ack 320, win 501, options [nop,nop,TS val 15270050 ecr 1129056], length 48
root@debian:~#
Merci.