Comment 4 for bug 613999

Revision history for this message
BAGArt (bagart) wrote :

i make local fix for this problem:
open smbd on all interface(0.0.0.0) and use internal(hosts allow) and external protect
alternative: portforwarding onenVPN => 127.0.0.1 for smb working port on iface-up may help for difficult situation(i think, restart deman is bad for active users on other iface)
; IMPORTANT! default value and not work with 'bind only'
        bind interfaces only = no
; disabled interfaces for bind on 0.0.0.0
; interfaces = 192.168.0.0/24 127.0.0.0/16
; permission for disablet external access. important: protect this port with firewall for posible smbd bug(ddos?)
        hosts allow = 192.168.0. 127.

; check:
ps ax | grep -P 'sa?mb';echo 'netstat:';sudo netstat -ntpl | grep '139'

; must close: hosts allow
$ telnet external_ip 139
Connection closed by foreign host.

;accept
$ telnet openvpn_ip 139