[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

plus de masquarade ?!



Bonne nuit la liste ;)

J'ai une woody connectée à l'adsl (192.168.0.1), et un autre linux
derrière (192.168.0.2). Depuis un plantage du dernier (merci les
drivers nvidia), et un reboot de l'autre (il n'a pas d'écran et je
croyais faire halt sur 192.168.0.2 via ssh!), la masquarade ne
fonctionne plus.

J'avais upgradé la woody de 192.168.0.2 le même jour, mais je ne sais
pas si c'est la cause de mes problèmes. Je viens de passer en sid,
mais pas de miracle...

Je ne sais pas par où attaquer le problème. Le net a l'air de
fonctionner au poil. J'ai le web car le routeur fait aussi proxy
junkbuster, et les deux machines communiquent bien en ssh.

Voici au cas où mes règles iptables :
moulinette:~# iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
MASQUERADE  all  --  gizmotronics.dyndns.org  anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

gizmo, c'est 192.168.0.2. J'ai rentré ceci en ligne de commande :

iptables -t nat -A POSTROUTING -s 192.168.0.2 -o ppp0 -j MASQUERADE


moulinette:~# iptables  -L
Chain INPUT (policy DROP)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere
ACCEPT     icmp --  anywhere             anywhere
ACCEPT     tcp  --  anywhere             anywhere           tcp
dpt:ftp
ACCEPT     tcp  --  anywhere             anywhere           tcp
dpt:ssh
ACCEPT     tcp  --  anywhere             anywhere           tcp
dpt:smtp
ACCEPT     tcp  --  anywhere             anywhere           tcp
dpt:www
ACCEPT     tcp  --  anywhere             anywhere           tcp
dpts:0:1023 flags:!SYN,RST,ACK/SYN
ACCEPT     tcp  --  anywhere             anywhere           tcp
dpts:1024:65535
ACCEPT     udp  --  anywhere             anywhere           udp
dpts:1024:65535

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere           state
RELATED,ESTABLISHED

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Faut-il que j'upgrade la woody de mon routeur, en espérant un miracle?
A bien y réfléchir, j'ai déjà vu les effets d'une upgrade attendre le
reboot pour avoir lieu, et cette machine avait 30 jours d'uptime.

Charles


-- 
To UNSUBSCRIBE, email to debian-user-french-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: