First thanks to all that have answered my questions.
The bad news is that I don´t know why this work and before doesn´t.
I´ll going to put my files if someone is interested.
In my PC-box I have a bat file with this "c:\archivos de programa\openvpn\bin\openvpn.exe" --remote SERVERLINUX --dev tunl --ifconfig 10.4.0.1 10.4.0.2 --secret "c:\archivos de programa\openvpn\config\key.txt" --comp-lzo
In the lmhosts an hosts file I have this entry:
10.4.0.2 SERVERLINUX
On the linux side I have this bash file:
#!/bin/sh /usr/local/sbin/openvpn --remote myPCIP --dev tun --ifconfig 10.4.0.2 10.4.0.1 --secret key.txt --comp-lzo --daemon
On the smb.conf file I have this: # Global parameters
[global]
workgroup = GRUPODETRABAJO
netbios name = LINUXSERVER
server string = %h server (Samba %v)
interfaces = 192.168.1.40/24 10.4.0.2/24
encrypt passwords = Yes
printing = bsd
printcap name = /etc/printcap
load printers = yes
debug level = 3
deadtime = 1
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 65
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
invalid users = root
nt acl support = No
Finally from the I have pressed "Start" -> "Run" and typed \10.4.0.2 and All the samba volumens appear
Thanks to all again,
Greetings from Spain, Im happy, things works and today is a Sunny day :-)
Andreas Kreiter wrote:
10.4.0.2 SERVERLINUX
netbios name = LINUXSERVER
Not the same name?
regards Andreas
Sorry the same name, I have used SEVERLINUX in all the files