I have a Samba server running on an OpenVZ VPS with a public IP. I also have a PPTP server running on the same server. I connect to it from a remote Windows PPTP client. I have everything working except network browsing. I can connect and see file shares on the Samba server using explorer and typing \\10.10.0.1. However, I cannot see the server if I refresh network browsing such that it finds the network name. I also cannot see the server if I type \\SambaNetbiosname.
I know that pptp cannot pass netbios traffic but it should work if I enable Samba WINS server and configure pptp server to give out wins server IP which I have. So far I haven't had any luck.
My configuration on the Samba server is as follows. I have created a virtual eth0 interface for the VPS and gave it an ip 10.10.0.1/24. It also has venet0:0 with the public IP. My PPTP client successfully logs into the pptp server public IP and is assigned 10.10.0.2/32 and is also given Wins server IP 10.10.0.1.
I also tried nbtstat -A 10.10.0.1
I thought maybe my problem was the \24 so it is trying to broadcast to 10.10.0.255 which of course won't work so I changed that to \32 but that didn't do anything. I could also be something to do with my samba WINS server setup but hard to mess that up as it's only 2 lines.
wins support = yes
name resolve order = wins lmhosts hosts bcast
I'm kind of surprised I got as far as I did with this because of all the problems I read about Samba on OpenVZ. So far haven't needed bridging to get this far and hopefully that is not what my problem is here since I don't need to bridge out from the server. I just need to get broadcast traffic going between ppp0 and virtual eth0.