[Samba] Binding to Tun0 device

Ian Clancy clancyian at cel.ie
Fri Aug 19 08:06:34 GMT 2005


Lonnie wrote:

> Hello all,
>
> We have a few aliased Ethernet addresses on our server and if I do not 
> use the Bind statement in the "Global" section then the NMBD seems to 
> try to bind to all of the addresses.
>
> We are actually using OpenVPN which make the connections just fine on 
> a 172.16.x.x subnet to "tun0" device.
>
> The problem is that Samba does not seem to find the tun0 device and 
> reports that there are no network cards available if I use the:
>
> Bind Interfaces Only = True
> Interfaces tun0 172.16.0.1
>
> How can I just bind Samba to the tun0 device?
>
> Also, with my home machine on the 192.168.x.x subnet and can see 
> another Samba server just fine in the "WORKGROUP" but I cannot see the 
> workgroup on the 172.16.x.x subnet through the VPN connection.
>
> Any ideas on how to be able to see the other workgroup as well?
>
Lonnie,
The cleanest way to do this is to set up a single WINS server for all 
your subnets and domains. also, check out the remote announce parameter 
in smb.conf .
Maybe a search on the openvpn list will help you with the other problem.
regards,
Ian


-- 
Ian Clancy
IT Systems Engineer
Connaught Electronics Ltd.
Dunmore Rd,
Tuam,
Co. Galway,
Ireland.

P : ++353 93 23151
F : ++353 93 23110
E : mailto:clancyian at cel.ie
W : http://www.cel-europe.com




More information about the samba mailing list