[Bug 613999] Re: openvpn is started after samba (smbd, nmbd)

BAGArt 613999 at bugs.launchpad.net
Wed Dec 7 06:27:47 UTC 2011


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

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/613999

Title:
  openvpn is started after samba (smbd, nmbd)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/613999/+subscriptions



More information about the Ubuntu-server-bugs mailing list