[CentOS] centos at windows network

Mon Dec 2 07:53:40 UTC 2013
Helmut Drodofsky <drodofsky at internet-xs.de>

Helo,

do you use module
ip_conntrack_netbios_ns
in /etc/sysconfig/iptables-config
e.g.:
IPTABLES_MODULES="ip_conntrack_netbios_ns"

Best regards
Helmut

-- 
Viele Grüße
Helmut Drodofsky
  
Internet XS Service GmbH
Heßbrühlstraße 15
70565 Stuttgart
   Geschäftsführung
Dr.-Ing. Roswitha Hahn-Drodofsky
HRB 21091 Stuttgart
USt.ID: DE190582774
Tel. 0711 781941 0
Fax: 0711 781941 79
Mail: info at internet-xs.de
www.internet-xs.de

Am 30.11.2013 07:45, schrieb Igor Littig:
> Hello everyone. When I try to view the windows network which I connected,
> the error "unable to mount share list from server" pops up. Once I tuned my
> firewall off, everything works fine. Does anyone know how to configure
> iptables in order to don't disable them. My current configuration of
> iptables is following:
>
> # Generated by iptables-save v1.4.7 on Sat Nov 16 11:06:35 2013
> *filter
> :INPUT ACCEPT [0:0]
> :FORWARD ACCEPT [0:0]
> :OUTPUT ACCEPT [6:360]
> -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
> -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
> -A INPUT -p icmp -j ACCEPT
> -A INPUT -i lo -j ACCEPT
> -A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
> -A INPUT -s 192.168.2.0/24 -m state --state NEW -m tcp -p tcp --dport 445
> -j ACCEPT
> -A INPUT -s 192.168.2.0/24 -m state --state NEW -m udp -p udp --dport 445
> -j ACCEPT
> -A INPUT -s 192.168.2.0/24 -m state --state NEW -m udp -p udp --dport 137
> -j ACCEPT
> -A INPUT -s 192.168.2.0/24 -m state --state NEW -m udp -p udp --dport 138
> -j ACCEPT
> -A INPUT -s 192.168.2.0/24 -m state --state NEW -m tcp -p tcp --dport 139
> -j ACCEPT
> -A INPUT -j REJECT --reject-with icmp-host-prohibited
> -A FORWARD -j REJECT --reject-with icmp-host-prohibited
> COMMIT
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos