Le Thu, 27 Nov 2008 18:47:14 +0100
"Anne sophie Lantz" <[EMAIL PROTECTED]> a écrit:

Bon

> > Quand tu as annulé hosts.allow, hosts.deny, etc, tu as bien relancé portmap
> > après??
> >
> > Peux tu mettre
> > $ cat /etc/exports | grep -v "^#" | grep -v "^$"
> > $  cat /etc/hosts.allow | grep -v "^#" | grep -v "^$"
> > $  cat /etc/hosts.deny | grep -v "^#" | grep -v "^$"
> > # iptables -L
> > # iptables -t nat -L

Pour les tests, fais la chose suivante

> 
> [EMAIL PROTECTED]:~$  cat /etc/exports | grep -v "^#" | grep -v "^$"
> /home/test      192.168.10.2(ro,rw,no_subtree_check) 192.168.10.3
> (ro,rw,no_subtree_check)

rectifie pour le test en

/home/test      *(ro,rw,no_subtree_check) 192.168.10.3

et relances par
# /etc/init.d/nfs-kernel-server restart

> [EMAIL PROTECTED]:~$ cat /etc/hosts.allow | grep -v "^#" | grep -v "^$"
> [EMAIL PROTECTED]:~$ cat /etc/hosts.deny | grep -v "^#" | grep -v "^$"
> 
> serv1:~# iptables -L
> Chain INPUT (policy DROP)
> target     prot opt source               destination
> ACCEPT     all  --  anywhere             anywhere
> ACCEPT     icmp --  anywhere             anywhere
> ACCEPT     igmp --  anywhere             anywhere
> ACCEPT     all  --  anywhere             anywhere            state
> RELATED,ESTABLISHED
> ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ssh
> REJECT     all  --  anywhere             anywhere            reject-with
> icmp-port-unreachable
> ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:sunrpc
> ACCEPT     udp  --  anywhere             anywhere            udp dpt:sunrpc
> ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:nfs
> ACCEPT     udp  --  anywhere             anywhere            udp dpt:nfs
> ACCEPT     tcp  --  anywhere             anywhere            tcp
> dpts:32765:32768
> ACCEPT     udp  --  anywhere             anywhere            udp
> dpts:32765:32768

Fais en root
# iptables -F INPUT
# iptables -P INPUT ACCEPT

puis essayes. Si ça ne marche pas, là je commencerais à désespérer.

François Boisson

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/DebFrFrenchLists
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Répondre à