On Fri, Jun 27, 2014 at 08:00:03PM +0200, Diogene Laerce wrote: > >> I try to authorize the 192.168.0.2 host to connect to samba but the > >> server host 192.168.0.1 won't let me with the following statement : > >> > >> ************************************************************************ > >> > >> iptables -A INPUT -i eth0 -p udp -s 192.168.0.2/32 -d 192.168.0.1 > >> --dport 137 -j ACCEPT > >> iptables -A INPUT -i eth0 -p udp -s 192.168.0.2/32 -d 192.168.0.1 > >> --dport 138 -j ACCEPT > >> iptables -A INPUT -i eth0 -m state --state NEW,ESTABLISHED -p tcp -s > >> 192.168.0.2/32 -d 192.168.0.1 --dport 139 -j ACCEPT > >> iptables -A INPUT -i eth0 -m state --state NEW,ESTABLISHED -p tcp -s > >> 192.168.0.2/32 -d 192.168.0.1 --dport 445 -j ACCEPT > >> > >> ************************************************************************
> # Allow incomings for SAMBA > iptables -A INPUT -i eth0 -m udp -p udp -s 192.168.0.11 -d 192.168.0.10 > --dport 137 -j ACCEPT > iptables -A INPUT -i eth0 -m udp -p udp -s 192.168.0.11 -d 192.168.0.10 > --dport 138 -j ACCEPT > iptables -A INPUT -i eth0 -m tcp -p tcp -s 192.168.0.11 -d 192.168.0.10 > --dport 139 -m state --state RELATED -j ACCEPT > iptables -A INPUT -i eth0 -m tcp -p tcp -s 192.168.0.11 -d 192.168.0.10 > --dport 445 -m state --state RELATED -j ACCEPT The only significant difference I see between these rulesets is in the source and destination addresses. Are you testing these new rules on a different machine, or the same machine? Are you testing with a different remote machine, or the same one as previously? > I didn't or at least not on purpose. I just reply to the list on a > random message and make a new topic of it for light convenience. I That is exactly what "hijacking" a thread entails. To start a new thread create a new mail, don't reply to an existing thread and simply change the subject. > didn't know it could do any harm. And actually, I even don't understand > how you can know that ? Please explain, I will sleep a bit light less > dumber tonight. ;) Email programs that understand proper threading show your original message on this subject as being a reply to a message on a completely unrelated thread. Cheers, Tom -- Your present plans will be successful.
signature.asc
Description: Digital signature