Problème de configuration du Serveur !!! - Windows & Software
Marsh Posté le 27-07-2005 à 22:14:58
peux  tu faire iptables -L ? 
sinon, regarde si le firewall permet de faire du postrouting (Masquerade) (shorewall je pense) 
 
PS : Essaye de poster le problème sur OSA et pas besoin de mettre en majuscule "serveur" ![]()
Marsh Posté le 27-07-2005 à 23:37:12
Humm. 
Exemple basic. 
 
Freebox : 192.168.0.1 
PCLinux : 192.168.0.2 
PCWin : 192.168.0.3 
 
Masque : 255.255.255.0 
Passerelle : 192.168.0.1 
DNS1 : 212.27.39.1 
DNS2 : 212.27.39.2 
 
PCWin : 
192.168.0.3 
255.255.255.0 
192.168.0.1 
212.27.39.1 
212.27.39.2 
 
PCLinux : 
ifconfig eth0 192.168.0.2 netmask 255.255.255.0 
 
Hummm c'est un peu bordelique mon exemple enfin test voir.
Marsh Posté le 28-07-2005 à 00:11:18
Je pense que la Freebox est en mode "modem" -> 
interface eth0 de la passerelle : DHCP 
interface eth1 (connectée au LAN) 192.168.0.1 
 
PCWin: 
192.168.0.2 
 
Puis : ping 192.168.0.1 depuis PCWin
Marsh Posté le 28-07-2005 à 00:58:53
La passerelle de 192.168.0.3 est 192.168.0.2 enfin si 192.168.0.2 est l'IP de Nux coté Windows pas Freebox, tu me suis ? 
Ton PC Linux a 2 IP c'est ce qu'il faut se dire.. une coté Windows, une coté Freebox. 
 
Au passage je te conseille ceci. 
 
Freebox (pas de routeur) 
 
PC Nux : IP publique pour lui + 192.168.0.1/24 / 192.168.0.1 
PC Win : 192.168.0.2/24 192.168.0.1 
 
 
Il y a en fait ici 2 réseaux 
 
Le réseau Freebox-Linux 
Le réseau Linux-Windows 
 
Pour t'en assurer tu peut même mettre un adressage de type 10.a.b.c sur le réseau Linux-Windows et de laisser tel quel ton réseau Freebox-Linux : ca marchera. 
 
Au fait, un swich c'est 100x plus simple  ![]()
Marsh Posté le 28-07-2005 à 07:04:12
Déjà merci @ tous pour vos réponse je vais essayer de voir aujourd'hui ce que ca peut donner. 
 
Je confirme au passage que ma freebox est en mode "modem simple" car je ne veux pas utiliser l'interface routeur. 
En tout cas, vous avez tout compris pour l'adressage ip 2 sous linux et 1 sous win. 
 
Au pire si quelqu'un peut me laisser une adresse msn je me ferais un plaisir de venir l'embete ![]()
Marsh Posté le 28-07-2005 à 09:43:11
colle ici le résultat des ces commandes 
sous linux , ouvre un terminal et tappes 
Code :
  | 
 
sous windows , ouvres une fenêtre dos et tappe 
Code :
  | 
Marsh Posté le 28-07-2005 à 09:53:16
| Citation : Au fait, un swich c'est 100x plus simple    | 
 
peut être mais la freebox en mode routeur n'offrira pas les fonctionnalités que la passerelle.
Marsh Posté le 28-07-2005 à 14:37:32
Voici les infos demandés par Yappa :  
 
[root@lns-vlq-40-rei-82-252-21-38 init.d]# /sbin/ifconfig -a 
eth0      Lien encap:Ethernet  HWaddr 00:60:B0:86:24:E0 
          inet adr:82.252.***.***  Bcast:82.252.***.***  Masque:255.255.255.0 
          adr inet6: fe80::260:b0ff:fe86:24e0/64 Scope:Lien 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
          RX packets:107350 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:103330 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 lg file transmission:1000 
          RX bytes:9542409 (9.1 Mb)  TX bytes:13671379 (13.0 Mb) 
          Interruption:10 Adresse de base:0xdc00 
 
eth1      Lien encap:Ethernet  HWaddr 00:0C:F6:0B:29:9B 
          inet adr:192.168.1.2  Bcast:192.168.1.255  Masque:255.255.255.0 
          adr inet6: fe80::20c:f6ff:fe0b:299b/64 Scope:Lien 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
          RX packets:690 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:228 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 lg file transmission:1000 
          RX bytes:56065 (54.7 Kb)  TX bytes:19141 (18.6 Kb) 
          Interruption:11 Adresse de base:0xe000 
 
lo        Lien 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:188 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:188 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 lg file transmission:0 
          RX bytes:14394 (14.0 Kb)  TX bytes:14394 (14.0 Kb) 
 
sit0      Lien 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) 
 
Entre hier et aujourd'hui j'ai réussi à avancer. J'ai maintenant la connexion internet sur le pc sous Win XP et tout va presque bien. 
En fait, j'ai tjr un problème, j'ai bien mon accès internet, mon serveur CS tourne mais il m'est impossible de m'y connecter. Les autres peuvent mais moi c'est impossible. L'accés FTP fonctionne sous la Mandrake, mais aucun accès non plus depuis Windows... Je pense que c'est un problème de pare-feu encore une fois mais je ne trouve pas la façon d'ouvrir les ports adéquates ! 
 
Merci pour votre aide ca m'avance bien déjà ! 
 
A oui une dernier chose lorsque je veux me connecter à Counter de mon pc (Windows) sur mon serveur (sous Mandrake) lorsque je reviens sur mon serveur dans la console il y a des messages "NET_SendPacket ERROR: Operation not permitted". Ca vous aidera peut etre !
Marsh Posté le 28-07-2005 à 14:51:23
Donc tu n'arrives pas à accéder au PC serveur depuis le PC sous WinXP. 
Donc ping 192.168.1.2 ne marche pas ? 
peux tu faire iptables -L ? 
et iptables -t nat -L
Marsh Posté le 28-07-2005 à 14:56:41
j'arrive à pinger vers 192.168.1.2 puisqu'il fait bien sont role de passerelle vers ma con,nexion internet... 
 
Voici iptables -L (attention c très long) 
 
iptables -L 
Chain INPUT (policy DROP) 
target     prot opt source               destination 
ACCEPT     all  --  anywhere             anywhere 
DROP      !icmp --  anywhere             anywhere            state INVALID 
eth0_in    all  --  anywhere             anywhere 
eth1_in    all  --  anywhere             anywhere 
common     all  --  anywhere             anywhere 
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:INPUT:REJECT:' 
reject     all  --  anywhere             anywhere 
 
Chain FORWARD (policy DROP) 
target     prot opt source               destination 
DROP      !icmp --  anywhere             anywhere            state INVALID 
eth0_fwd   all  --  anywhere             anywhere 
eth1_fwd   all  --  anywhere             anywhere 
common     all  --  anywhere             anywhere 
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:FORWARD:REJECT:' 
reject     all  --  anywhere             anywhere 
 
Chain OUTPUT (policy DROP) 
target     prot opt source               destination 
ACCEPT     all  --  anywhere             anywhere 
DROP      !icmp --  anywhere             anywhere            state INVALID 
fw2net     all  --  anywhere             anywhere 
all2all    all  --  anywhere             anywhere 
common     all  --  anywhere             anywhere 
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:OUTPUT:REJECT:' 
reject     all  --  anywhere             anywhere 
 
Chain all2all (2 references) 
target     prot opt source               destination 
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
newnotsyn  tcp  --  anywhere             anywhere            state NEW tcp flags:!SYN,RST,ACK/SYN 
common     all  --  anywhere             anywhere 
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:all2all:REJECT:' 
reject     all  --  anywhere             anywhere 
 
Chain common (5 references) 
target     prot opt source               destination 
icmpdef    icmp --  anywhere             anywhere 
reject     udp  --  anywhere             anywhere            udp dpt:135 
reject     udp  --  anywhere             anywhere            udp dpts:netbios-ns:netbios-ssn 
reject     udp  --  anywhere             anywhere            udp dpt:microsoft-ds 
reject     tcp  --  anywhere             anywhere            tcp dpt:netbios-ssn 
reject     tcp  --  anywhere             anywhere            tcp dpt:microsoft-ds 
reject     tcp  --  anywhere             anywhere            tcp dpt:135 
DROP       udp  --  anywhere             anywhere            udp dpt:1900 
DROP       all  --  anywhere             255.255.255.255 
DROP       all  --  anywhere             BASE-ADDRESS.MCAST.NET/4 
reject     tcp  --  anywhere             anywhere            tcp dpt:auth 
DROP       udp  --  anywhere             anywhere            udp spt:domain state NEW 
DROP       all  --  anywhere             lns-vlq-40-rei-82-252-***-***-illegal.adsl.proxad.net 
DROP       all  --  anywhere             192.168.1.255 
 
Chain dynamic (4 references) 
target     prot opt source               destination 
 
Chain eth0_fwd (1 references) 
target     prot opt source               destination 
dynamic    all  --  anywhere             anywhere            state NEW 
net2all    all  --  anywhere             anywhere 
 
Chain eth0_in (1 references) 
target     prot opt source               destination 
dynamic    all  --  anywhere             anywhere            state NEW 
net2fw     all  --  anywhere             anywhere 
 
Chain eth1_fwd (1 references) 
target     prot opt source               destination 
dynamic    all  --  anywhere             anywhere            state NEW 
loc2net    all  --  anywhere             anywhere 
 
Chain eth1_in (1 references) 
target     prot opt source               destination 
dynamic    all  --  anywhere             anywhere            state NEW 
loc2fw     all  --  anywhere             anywhere 
 
Chain fw2net (1 references) 
target     prot opt source               destination 
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
newnotsyn  tcp  --  anywhere             anywhere            state NEW tcp flags:!SYN,RST,ACK/SYN 
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:http 
ACCEPT     all  --  anywhere             anywhere 
 
Chain icmpdef (1 references) 
target     prot opt source               destination 
 
Chain loc2fw (1 references) 
target     prot opt source               destination 
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
newnotsyn  tcp  --  anywhere             anywhere            state NEW tcp flags:!SYN,RST,ACK/SYN 
ACCEPT     udp  --  anywhere             anywhere            state NEW udp dpt:netbios-ns 
ACCEPT     udp  --  anywhere             anywhere            state NEW udp dpt:netbios-dgm 
ACCEPT     udp  --  anywhere             anywhere            state NEW udp dpt:netbios-ssn 
ACCEPT     udp  --  anywhere             anywhere            state NEW udp dpt:1200 
ACCEPT     udp  --  anywhere             anywhere            state NEW udp dpts:27000:27015 
ACCEPT     udp  --  anywhere             anywhere            state NEW udp dpt:4672 
ACCEPT     udp  --  anywhere             anywhere            state NEW udp dpt:4661 
ACCEPT     udp  --  anywhere             anywhere            state NEW udp dpt:ftp 
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:http 
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:https 
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ftp-data 
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ftp 
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:netbios-ns 
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:netbios-dgm 
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:netbios-ssn 
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpts:27030:27039 
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:4662 
ACCEPT     icmp --  anywhere             anywhere            icmp echo-request 
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:squid 
all2all    all  --  anywhere             anywhere 
 
Chain loc2net (1 references) 
target     prot opt source               destination 
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
newnotsyn  tcp  --  anywhere             anywhere            state NEW tcp flags:!SYN,RST,ACK/SYN 
ACCEPT     all  --  anywhere             anywhere 
 
Chain net2all (2 references) 
target     prot opt source               destination 
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
newnotsyn  tcp  --  anywhere             anywhere            state NEW tcp flags:!SYN,RST,ACK/SYN 
common     all  --  anywhere             anywhere 
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:net2all:DROP:' 
DROP       all  --  anywhere             anywhere 
 
Chain net2fw (1 references) 
target     prot opt source               destination 
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
newnotsyn  tcp  --  anywhere             anywhere            state NEW tcp flags:!SYN,RST,ACK/SYN 
ACCEPT     udp  --  anywhere             anywhere            state NEW udp dpt:netbios-ns 
ACCEPT     udp  --  anywhere             anywhere            state NEW udp dpt:netbios-dgm 
ACCEPT     udp  --  anywhere             anywhere            state NEW udp dpt:netbios-ssn 
ACCEPT     udp  --  anywhere             anywhere            state NEW udp dpt:1200 
ACCEPT     udp  --  anywhere             anywhere            state NEW udp dpts:27000:27015 
ACCEPT     udp  --  anywhere             anywhere            state NEW udp dpt:4672 
ACCEPT     udp  --  anywhere             anywhere            state NEW udp dpt:4661 
ACCEPT     udp  --  anywhere             anywhere            state NEW udp dpt:ftp 
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:http 
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:https 
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ftp-data 
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ftp 
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:netbios-ns 
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:netbios-dgm 
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:netbios-ssn 
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpts:27030:27039 
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:4662 
ACCEPT     icmp --  anywhere             anywhere            icmp echo-request 
net2all    all  --  anywhere             anywhere 
 
Chain newnotsyn (6 references) 
target     prot opt source               destination 
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:newnotsyn:DROP:' 
DROP       all  --  anywhere             anywhere 
 
Chain reject (11 references) 
target     prot opt source               destination 
REJECT     tcp  --  anywhere             anywhere            reject-with tcp-reset 
REJECT     udp  --  anywhere             anywhere            reject-with icmp-port-unreachable 
REJECT     icmp --  anywhere             anywhere            reject-with icmp-host-unreachable 
REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited 
 
Chain shorewall (0 references)
Marsh Posté le 28-07-2005 à 22:52:29
Voici iptables -t nat -L 
 
Chain PREROUTING (policy ACCEPT) 
target     prot opt source               destination 
loc_dnat   all  --  anywhere             anywhere 
 
Chain POSTROUTING (policy ACCEPT) 
target     prot opt source               destination 
eth0_masq  all  --  anywhere             anywhere 
 
Chain OUTPUT (policy ACCEPT) 
target     prot opt source               destination 
 
Chain eth0_masq (1 references) 
target     prot opt source               destination 
MASQUERADE  all  --  192.168.1.0/24       anywhere 
 
Chain loc_dnat (1 references) 
target     prot opt source               destination 
REDIRECT   tcp  --  anywhere             anywhere            tcp dpt:http redir ports 3128 
Marsh Posté le 28-07-2005 à 23:14:48
Le serveur CS, il est sur quelle interface ? 
A priori, il est sur la 2ème (celle du bas sur le dessin), mais pour être accessible depuis ton poste, il faut qu'il soit aussi sur la 1ère 
 
Marsh Posté le 28-07-2005 à 23:39:51
netstat -a pour voir si le serveur CS écoute sur un socket type 0.0.0.0:[port CS] ou autre.
Marsh Posté le 29-07-2005 à 00:06:47
voici la commande netstat -a 
 
Connexions Internet actives (serveurs et établies) 
Proto Recv-Q Send-Q Adresse locale          Adresse distante        Etat 
tcp        0      0 localhost:32768         *:*                     LISTEN 
tcp        0      0 *:32769                 *:*                     LISTEN 
tcp        0      0 *:nfs                   *:*                     LISTEN 
tcp        0      0 *:998                   *:*                     LISTEN 
tcp        0      0 *:netbios-ssn           *:*                     LISTEN 
tcp        0      0 *:748                   *:*                     LISTEN 
tcp        0      0 *:sunrpc                *:*                     LISTEN 
tcp        0      0 *:x11                   *:*                     LISTEN 
tcp        0      0 *:ftp                   *:*                     LISTEN 
tcp        0      0 192.168.1.2:domain      *:*                     LISTEN 
tcp        0      0 lns-vlq-40-rei-8:domain *:*                     LISTEN 
tcp        0      0 localhost:domain        *:*                     LISTEN 
tcp        0      0 *:squid                 *:*                     LISTEN 
tcp        0      0 localhost:rndc          *:*                     LISTEN 
tcp        0      0 *:microsoft-ds          *:*                     LISTEN 
tcp        0      0 lns-vlq-40-rei-82:34875 212.23.37.8:http        ESTABLISHED 
tcp        0      0 lns-vlq-40-rei-82:34869 64.111.197.140:http     ESTABLISHED 
tcp        0      0 lns-vlq-40-rei-82:34890 16-149-118-80.kapt:http TIME_WAIT 
tcp        0      0 lns-vlq-40-rei-82:32777 baym-cs246.msgr.ho:1863 ESTABLISHED 
tcp        0      0 *:http                  *:*                     LISTEN 
tcp        0      0 *:ssh                   *:*                     LISTEN 
tcp        0      0 *:https                 *:*                     LISTEN 
udp        0      0 *:32768                 *:* 
udp        0      0 *:27009                 *:* 
udp        0      0 *:nfs                   *:* 
udp        0      0 *:32770                 *:* 
udp        0      0 *:32771                 *:* 
udp        0      0 *:27015                 *:* 
udp        0      0 lns-vlq-40-r:netbios-ns *:* 
udp        0      0 192.168.1.2:netbios-ns  *:* 
udp        0      0 *:netbios-ns            *:* 
udp        0      0 lns-vlq-40-:netbios-dgm *:* 
udp        0      0 192.168.1.2:netbios-dgm *:* 
udp        0      0 *:netbios-dgm           *:* 
udp        0      0 192.168.1.2:domain      *:* 
udp        0      0 lns-vlq-40-rei-8:domain *:* 
udp        0      0 localhost:domain        *:* 
udp        0      0 *:icpv2                 *:* 
udp        0      0 *:bootps                *:* 
udp        0      0 *:bootpc                *:* 
udp        0      0 *:3401                  *:* 
udp        0      0 *:4827                  *:* 
udp        0      0 *:pop3s                 *:* 
udp        0      0 *:742                   *:* 
udp        0      0 *:745                   *:* 
udp        0      0 *:sunrpc                *:* 
udp        0      0 *:32769                 *:* 
raw        0      0 *:icmp                  *:*                     7 
Sockets du domaine UNIX actives(serveurs et établies) 
Proto RefCpt Indicatrs   Type       Etat          I-Node Chemin 
unix  16     [ ]         DGRAM                    5893   /dev/log 
unix  2      [ ACC ]     STREAM     LISTENING     6351   /tmp/.font-unix/fs-1 
unix  2      [ ACC ]     STREAM     LISTENING     6602   /tmp/.X11-unix/X0 
unix  2      [ ACC ]     STREAM     LISTENING     7643   /tmp/ksocket-theserveur/kdeinit__0 
unix  2      [ ACC ]     STREAM     LISTENING     7646   /tmp/ksocket-theserveur/kdeinit-:0 
unix  2      [ ACC ]     STREAM     LISTENING     7652   /tmp/.ICE-unix/dcop3523-1122551171 
unix  2      [ ACC ]     STREAM     LISTENING     7711   /tmp/.fam_socket 
unix  2      [ ACC ]     STREAM     LISTENING     7673   /tmp/ksocket-theserveur/klauncherYN94Hb.slave-socket 
unix  2      [ ACC ]     STREAM     LISTENING     8024   /tmp/mcop-theserveur/lns-vlq-40-rei-82-252-***-***_adsl_proxad_net-0e4c-42e8c58b 
unix  2      [ ACC ]     STREAM     LISTENING     8103   /tmp/.ICE-unix/3699 
unix  2      [ ACC ]     STREAM     LISTENING     9097   /tmp/ksocket-theserveur/kdesud_:0 
unix  2      [ ACC ]     STREAM     LISTENING     7625   /home/theserveur/tmp/orbit-theserveur-a8e8c858/linc-dbd-0-4198cf17af86d 
unix  2      [ ACC ]     STREAM     LISTENING     7636   /home/theserveur/tmp/orbit-theserveur-a8e8c858/linc-dae-0-21967039b9c51 
unix  2      [ ACC ]     STREAM     LISTENING     10187  /home/theserveur/tmp/orbit-theserveur-a8e8c858/linc-143f-0-53241e4d45231 
unix  3      [ ]         STREAM     CONNECTE      40579  /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      40578 
unix  2      [ ]         DGRAM                    40573 
unix  3      [ ]         STREAM     CONNECTE      40528  /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      40527 
unix  2      [ ]         DGRAM                    40518 
unix  3      [ ]         STREAM     CONNECTE      40383  /tmp/ksocket-theserveur/kdesud_:0 
unix  3      [ ]         STREAM     CONNECTE      40382 
unix  3      [ ]         STREAM     CONNECTE      40376  /tmp/.ICE-unix/3699 
unix  3      [ ]         STREAM     CONNECTE      40375 
unix  35     [ ]         STREAM     CONNECTE      40374  /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      40373 
unix  3      [ ]         STREAM     CONNECTE      40076  /tmp/ksocket-theserveur/konquerorAozGGb.slave-socket 
unix  3      [ ]         STREAM     CONNECTE      40075 
unix  3      [ ]         STREAM     CONNECTE      40068  /tmp/ksocket-theserveur/konquerorREzKla.slave-socket 
unix  3      [ ]         STREAM     CONNECTE      40066 
unix  3      [ ]         STREAM     CONNECTE      40051  /tmp/ksocket-theserveur/konquerorjPi7Qa.slave-socket 
unix  3      [ ]         STREAM     CONNECTE      40050 
unix  3      [ ]         STREAM     CONNECTE      39979  /tmp/ksocket-theserveur/konquerorfm9Oac.slave-socket 
unix  3      [ ]         STREAM     CONNECTE      39978 
unix  3      [ ]         STREAM     CONNECTE      31758  /tmp/.famKgvAGe 
unix  3      [ ]         STREAM     CONNECTE      31757 
unix  3      [ ]         STREAM     CONNECTE      31744  /tmp/.ICE-unix/dcop3523-1122551171 
unix  3      [ ]         STREAM     CONNECTE      31743 
unix  3      [ ]         STREAM     CONNECTE      31738  /tmp/.ICE-unix/3699 
unix  3      [ ]         STREAM     CONNECTE      31737 
unix  3      [ ]         STREAM     CONNECTE      31736  /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      31735 
unix  5      [ ]         STREAM     CONNECTE      14840  /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      14839 
unix  3      [ ]         STREAM     CONNECTE      10190  /home/theserveur/tmp/orbit-theserveur-a8e8c858/linc-143f-0-53241e4d45231 
unix  3      [ ]         STREAM     CONNECTE      10189 
unix  3      [ ]         STREAM     CONNECTE      10186  /home/theserveur/tmp/orbit-theserveur-a8e8c858/linc-dbd-0-4198cf17af86d 
unix  3      [ ]         STREAM     CONNECTE      10185 
unix  3      [ ]         STREAM     CONNECTE      10172  /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      10171 
unix  3      [ ]         STREAM     CONNECTE      9100   /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      9099 
unix  3      [ ]         STREAM     CONNECTE      8919   /tmp/.ICE-unix/3699 
unix  3      [ ]         STREAM     CONNECTE      8918 
unix  3      [ ]         STREAM     CONNECTE      8915   /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      8914 
unix  3      [ ]         STREAM     CONNECTE      8913   /tmp/.ICE-unix/dcop3523-1122551171 
unix  3      [ ]         STREAM     CONNECTE      8912 
unix  3      [ ]         STREAM     CONNECTE      8647   /tmp/.fammvucNx 
unix  3      [ ]         STREAM     CONNECTE      8646 
unix  3      [ ]         STREAM     CONNECTE      8417   /tmp/.ICE-unix/dcop3523-1122551171 
unix  3      [ ]         STREAM     CONNECTE      8416 
unix  3      [ ]         STREAM     CONNECTE      8411   /tmp/.ICE-unix/3699 
unix  3      [ ]         STREAM     CONNECTE      8410 
unix  3      [ ]         STREAM     CONNECTE      8409   /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      8408 
unix  3      [ ]         STREAM     CONNECTE      8404   /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      8403 
unix  3      [ ]         STREAM     CONNECTE      8345   /tmp/.ICE-unix/3699 
unix  3      [ ]         STREAM     CONNECTE      8344 
unix  3      [ ]         STREAM     CONNECTE      8319   /tmp/.ICE-unix/3699 
unix  3      [ ]         STREAM     CONNECTE      8318 
unix  3      [ ]         STREAM     CONNECTE      8315   /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      8314 
unix  3      [ ]         STREAM     CONNECTE      8311   /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      8310 
unix  3      [ ]         STREAM     CONNECTE      8309   /tmp/.ICE-unix/dcop3523-1122551171 
unix  3      [ ]         STREAM     CONNECTE      8308 
unix  3      [ ]         STREAM     CONNECTE      8288   /tmp/.ICE-unix/3699 
unix  3      [ ]         STREAM     CONNECTE      8287 
unix  3      [ ]         STREAM     CONNECTE      8274   /tmp/.ICE-unix/3699 
unix  3      [ ]         STREAM     CONNECTE      8273 
unix  3      [ ]         STREAM     CONNECTE      8270   /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      8269 
unix  3      [ ]         STREAM     CONNECTE      8268   /tmp/.ICE-unix/dcop3523-1122551171 
unix  3      [ ]         STREAM     CONNECTE      8267 
unix  4      [ ]         STREAM     CONNECTE      8257   /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      8256 
unix  3      [ ]         STREAM     CONNECTE      8255   /tmp/.ICE-unix/dcop3523-1122551171 
unix  3      [ ]         STREAM     CONNECTE      8254 
unix  3      [ ]         STREAM     CONNECTE      8246   /tmp/.ICE-unix/3699 
unix  3      [ ]         STREAM     CONNECTE      8245 
unix  3      [ ]         STREAM     CONNECTE      8242   /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      8241 
unix  3      [ ]         STREAM     CONNECTE      8240   /tmp/.ICE-unix/dcop3523-1122551171 
unix  3      [ ]         STREAM     CONNECTE      8239 
unix  3      [ ]         STREAM     CONNECTE      8234   /tmp/.famCPAK0n 
unix  3      [ ]         STREAM     CONNECTE      8233 
unix  3      [ ]         STREAM     CONNECTE      8226   /tmp/mcop-theserveur/lns-vlq-40-rei-82-252-***-***_adsl_proxad_net-0e4c-42e8c58b 
unix  3      [ ]         STREAM     CONNECTE      8225 
unix  3      [ ]         STREAM     CONNECTE      8148   /tmp/.ICE-unix/3699 
unix  3      [ ]         STREAM     CONNECTE      8147 
unix  3      [ ]         STREAM     CONNECTE      8144   /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      8143 
unix  3      [ ]         STREAM     CONNECTE      8142   /tmp/.ICE-unix/dcop3523-1122551171 
unix  3      [ ]         STREAM     CONNECTE      8141 
unix  3      [ ]         STREAM     CONNECTE      8116   /tmp/.ICE-unix/3699 
unix  3      [ ]         STREAM     CONNECTE      8115 
unix  3      [ ]         STREAM     CONNECTE      8114   /tmp/.ICE-unix/dcop3523-1122551171 
unix  3      [ ]         STREAM     CONNECTE      8113 
unix  3      [ ]         STREAM     CONNECTE      8110   /tmp/.ICE-unix/3699 
unix  3      [ ]         STREAM     CONNECTE      8109 
unix  3      [ ]         STREAM     CONNECTE      8108   /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      8107 
unix  3      [ ]         STREAM     CONNECTE      8102   /tmp/.ICE-unix/dcop3523-1122551171 
unix  3      [ ]         STREAM     CONNECTE      8101 
unix  3      [ ]         STREAM     CONNECTE      8098   /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      8097 
unix  3      [ ]         STREAM     CONNECTE      8091   /tmp/ksocket-theserveur/kdeinit__0 
unix  3      [ ]         STREAM     CONNECTE      8090 
unix  3      [ ]         STREAM     CONNECTE      8087   /tmp/mcop-theserveur/lns-vlq-40-rei-82-252-21-38_adsl_proxad_net-0e4c-42e8c58b 
unix  3      [ ]         STREAM     CONNECTE      8086 
unix  3      [ ]         STREAM     CONNECTE      8057   /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      8056 
unix  3      [ ]         STREAM     CONNECTE      8055   /tmp/.ICE-unix/dcop3523-1122551171 
unix  3      [ ]         STREAM     CONNECTE      8054 
unix  2      [ ]         DGRAM                    7953 
unix  3      [ ]         STREAM     CONNECTE      7734   /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      7733 
unix  3      [ ]         STREAM     CONNECTE      7717   /tmp/.fampWqtoV 
unix  3      [ ]         STREAM     CONNECTE      7716 
unix  3      [ ]         STREAM     CONNECTE      7685   /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      7682 
unix  3      [ ]         STREAM     CONNECTE      7681   /tmp/.ICE-unix/dcop3523-1122551171 
unix  3      [ ]         STREAM     CONNECTE      7680 
unix  3      [ ]         STREAM     CONNECTE      7669   /tmp/.ICE-unix/dcop3523-1122551171 
unix  3      [ ]         STREAM     CONNECTE      7668 
unix  3      [ ]         STREAM     CONNECTE      7664 
unix  3      [ ]         STREAM     CONNECTE      7663 
unix  3      [ ]         STREAM     CONNECTE      7640   /home/theserveur/tmp/orbit-theserveur-a8e8c858/linc-dae-0-21967039b9c51 
unix  3      [ ]         STREAM     CONNECTE      7639 
unix  3      [ ]         STREAM     CONNECTE      7638   /home/theserveur/tmp/orbit-theserveur-a8e8c858/linc-dbd-0-4198cf17af86d 
unix  3      [ ]         STREAM     CONNECTE      7635 
unix  2      [ ]         DGRAM                    7621 
unix  3      [ ]         STREAM     CONNECTE      7607   /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      7606 
unix  2      [ ]         DGRAM                    7407 
unix  2      [ ]         DGRAM                    7361 
unix  2      [ ]         DGRAM                    7287 
unix  2      [ ]         DGRAM                    7189 
unix  3      [ ]         STREAM     CONNECTE      7125   /tmp/.font-unix/fs-1 
unix  3      [ ]         STREAM     CONNECTE      7124 
unix  2      [ ]         DGRAM                    6931 
unix  2      [ ]         DGRAM                    6773 
unix  7      [ ]         STREAM     CONNECTE      7129   /tmp/.X11-unix/X0 
unix  3      [ ]         STREAM     CONNECTE      6633 
unix  2      [ ]         DGRAM                    6575 
unix  2      [ ]         DGRAM                    6397 
unix  2      [ ]         DGRAM                    5997 
unix  2      [ ]         DGRAM                    5906 
Marsh Posté le 30-07-2005 à 12:57:48
![[:atreyu] [:atreyu]](https://forum-images.hardware.fr/images/perso/atreyu.gif)
Marsh Posté le 02-08-2005 à 14:38:42
Je voudrais que tu me donnes les informations suivantes : 
- ports utilisés (UDP/TCP) par le serveur CSS 
- le PC sous Win peut pinguer le serveur ? 
- quel est l'erreur retournée ? le PC sous Win ne peut pas trouver le serveur CSS ou le serveur CSS renvoie une erreur au client sous Win ? 
 
PS : désolé de ne pas pouvoir te répondre plus tôt, j'étais trop occupé
Marsh Posté le 02-08-2005 à 16:37:02
Bonjour, 
Aucun problème pour le temps (je comprend tout à fait que tu es d'autres choses à faire) mais c'était pour ne pas que mon message s'en aille trop loin. 
Enfin pour le port du serveur c'est le port 27015. 
(je n'ai pas pensé à pinguer vers le serveur mais de toute façon (réponse à l'autre question) aucune erreur n'est retournée. Le PC Win ne trouve pas du tout le serveur puisque Steam m'indique "PAS DE REPONSE" comme si le serveur n'était pas ouvert. 
 
RAPPEL : Tout le monde arrive à se connecter sur le serveur mais moi pas ! 
 
Encore merci jlighty (je sais pas si j'ai le droit de laisser mon adresse MSN, se serait peut etre plus simple non ?)
Marsh Posté le 02-08-2005 à 22:14:49
non aucun accés FTP mais sur le site que j'ai monté chez free ! :-(
Marsh Posté le 02-08-2005 à 22:42:34
tu ne peux pas faire : 
ftp [ip du serveur Linux] ? 
ni ftp ftp.free.fr ?
Marsh Posté le 02-08-2005 à 23:14:08
C'est le bordel ta config tu devrais mettre le mode routeur de la freebox et acheter un switch de cette maniere tu auras la meme carte reseau pour ton reseau local et pour le serveur cs, la c'est pas le cas, je sais pas a quoi ressemble un serveur cs mais j'imagine que c'est a cause de ca...
Marsh Posté le 02-08-2005 à 23:22:27
Mais non ce n'est pas le bordel ça config 
, il doit y avoir un problème de configuration du firewall côté client Windows. 
Les règles iptables m'ont l'air correct donc il faudrait voir si le firewall du SP2 (si WinXP) ne bloquerait pas certains ports.
Marsh Posté le 02-08-2005 à 23:34:12
Tu mets bien ton ip du serveur internet sur ton client cs et pas celle en 192.168.x.x au moins ?
Marsh Posté le 02-08-2005 à 23:37:25
Normalement c'est équivalent, il peut mettre l'IP des deux interfaces réseaux de toute façon elles pointent sur la même machine.
Marsh Posté le 03-08-2005 à 00:00:31
je suis pas sur que cela viennent du pare feu XP (etant donné que je ne l'ai pas mis) j'utilise le pare feu de PC CILLIN mais j'ai aussi essayé de le désactiver mais rien n'avais changé moi je pense plus à un probleme du parefeu mandrake si tu aurais un lien qui m'aiderait à parametrer le pare feu en ligne de commande (au hasard de la chose lol) 
 
En plus je sais plus si je l'ai dit ca ! mais lorsque je suis sous mandrake, j'arrive a accéder a mon ftp (c normal je pense non ?) mais pas sous windows (mm emule ne passe pas !)
Marsh Posté le 03-08-2005 à 00:04:25
Regarde dans les logs de shorewall (peut être en /var/log/messages) 
si il existe une ligne type : Shorewall:INPUT:REJECT: source ip [ip du PC sous Win] DPT 21 
ou toutes lignes où il y a REJECT et l'IP du PC sous Win et le port 21. 
Ce n'est pas normal que tu n'arrives pas à te connecter au serveur FTP linux.
Marsh Posté le 03-08-2005 à 00:21:06
ok je regarde ca demain merci
Marsh Posté le 03-08-2005 à 00:45:59
j'ai trouvé ca : 
 
Jul 27 10:26:18 lns-th2-10-rei-82-249-88-99 kernel: Shorewall:all2all:REJECT:IN= OUT=eth1 SRC=192.168.1.1 DST=192.168.1.3 LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=52 DF PROTO=ICMP TYPE=8 CODE=0 ID=12839 SEQ=24  
 
Jul 28 10:20:06 lns-vlq-40-rei-82-252-21-38 kernel: Shorewall:all2all:REJECT:IN= OUT=eth1 SRC=82.252.21.38 DST=192.168.1.20 LEN=60 TOS=0x08 PREC=0x00 TTL=64 ID=40305 DF PROTO=TCP SPT=20 DPT=1110 WINDOW=5840 RES=0x00 SYN URGP=0  
 
si ca te cause  
 
 
Enfin si tu as une solution pour viré le firewall !!! donne parce que j'ai pas non plus envie de te prendre la tête  
 
 
ou bien en changeant de distribution penses tu que cela pourrait résoudre les problèmes ??
Marsh Posté le 03-08-2005 à 12:00:34
La seconde ligne est interessante : 
le paquet du port 20 (FTP data) d'adresse source celle de ton serveur et avec comme adresse de destination 192.168.1.20 (port 1110) a été dropé. 
Essaye d'utiliser le mode passif (par ex filezilla ) pour voir si le transfert FTP peut s'établir. 
Surtout je déconseille de virer le firewall Iptables.
Marsh Posté le 03-08-2005 à 12:44:55
Voici le résultat de Filezilla : 
 
Etat :	Connexion à 82.***.***.*** ... 
Etat :	Connecté à 82.***.***.***. Attente du message d'accueil... 
Réponse :	220 ProFTPD 1.2.9 Server (ProFTPD Default Installation) [lns-vlq-40-rei-82-***-***-***.adsl.proxad.net] 
Commande :	USER ******* 
Réponse :	331 Password required for theserveur. 
Commande :	PASS ******** 
Réponse :	230 User theserveur logged in. 
Commande :	FEAT 
Réponse :	211-Features: 
Réponse :  MDTM 
Réponse :  REST STREAM 
Réponse :  SIZE 
Réponse :	211 End 
Commande :	SYST 
Réponse :	215 UNIX Type: L8 
Etat :	Connecté 
Etat :	Récupération de la liste de répertoires... 
Commande :	PWD 
Réponse :	257 "/home/theserveur" is current directory. 
Commande :	TYPE A 
Réponse :	200 Type set to A 
Commande :	PASV 
Réponse :	227 Entering Passive Mode (82,***,***,***,**). 
Commande :	LIST 
Erreur :	Le canal de transfert n'a pas pu être ouvert. Raison : Aucune connexion n'a pu être établie car l'ordinateur cible l'a expressément refusée. 
Marsh Posté le 03-08-2005 à 12:46:31
et concernant le log de shorewall ? 
y a t-il une nouvelle chaine REJECT ?
Marsh Posté le 03-08-2005 à 12:50:57
voici la derniere ligne du fichier : 
Aug  3 12:50:39 lns-vlq-40-rei-82-252-20-160 kernel: Shorewall:newnotsyn:DROP:IN= OUT=eth1 SRC=82.252.20.160 DST=192.168.1.20 LEN=108 TOS=0x10 PREC=0x00 TTL=64 ID=39454 DF PROTO=TCP SPT=21 DPT=1218 WINDOW=5840 RES=0x00 ACK PSH FIN URGP=0 
Marsh Posté le 03-08-2005 à 12:52:16
j'ai trouvé ca : Aug  3 12:46:38 lns-vlq-40-rei-82-252-20-160 proftpd[4923]: lns-vlq-40-rei-82-252-20-160.adsl.proxad.net (192.168.1.20[192.168.1.20]) - error: unable to set groups: Invalid argument 
 
et ca  
 
Aug  3 12:46:39 lns-vlq-40-rei-82-252-20-160 kernel: Shorewall:all2all:REJECT:IN=eth1 OUT= MAC=00:0c:f6:0b:29:9b:00:0e:a6:4b:23:f0:08:00 SRC=192.168.1.20 DST=82.252.20.160 LEN=48 TOS=0x00 PREC=0x00 TTL=128 ID=2868 DF PROTO=TCP SPT=1232 DPT=32905 WINDOW=65535 RES=0x00 SYN URGP=0 
 
j'ai également trouvé ca dans un coin du fichier /var/log/messages 
 
Aug  3 12:55:08 lns-vlq-40-rei-82-252-20-160 drakconf.real[3880]: modified file /etc/mcc.conf 
Aug  3 12:55:08 lns-vlq-40-rei-82-252-20-160 su(pam_unix)[3844]: session closed for user root
Marsh Posté le 27-07-2005 à 22:10:26
Bonjour @ tous !!
 
Bon voilà je sais que le sujet à certainement déjà été traité mais sur tous ce que je trouve comme info je dirai que je n'y comprend rien.
J'explique mon problème :
Je souhaite créer un Serveur Counter Strike sous Mandrake (jusque là pas de problème) le serveur et configuré, il fonctionne, et la gens arrivent à ce connecter dessus. Le vrai problème c'est quand faite, je n'arrive pas à me connecter sur mon propre serveur (voici un schèma)
Comment vous pouvez le voir j'ai ma freebox qui est reliée au serveur (port rj45) puis j'ai une 2ème carte réseau qui part du serveur pour aller vers mon pc sous Windows XP. Jusque là tout va bien.
Honnêtement je pense que j'ai un problème de pare-feu ou quelques choses dans genre mais étant débutant sous linux j'en perd mon latin. Si quelqu'un pourrait m'apporter un maximun de précision sur la marche à suivre ca serait super sympaass !!!
Voici les 2 tuto que j'ai suivi :
http://www.vossey.com/dossier/page [...] x--109.htm
http://www.alphacore.net/spip/arti [...] article=17
Je pense que dans mon malheur je m'en suis bien sorti mais là j'arrive à bout. Cela fait 3 jour que je me prend la tête dessus !! J'en peux plus ! HELP ME !!!
P.S: En gros : Mon pc WINDOWS XP ne voit pas mon serveur LINUX (et je n'ai aucun accés internet a partir du pc Windows)
Merci d'avance à celui ou ceux qui m'aiderons !
Message édité par ThESeRvEuR le 28-07-2005 à 07:08:27
---------------
((°°ThE SeRvEuR°°))