Samba with PPTP
Hi I am running samba on a freebsd box (behind NAT, IP = 192.168.1.207) with pptpclient connecting to my company m$2k VPN (tunnel IP = 192.168.0.206). At first, I can ping the fbsd with its hostname (freebsd) from my company. But when I try to net use freebsd /user:xxx *, the net use will fail (err = The network path was not found.) and afterwards I can see that ping will use 192.168.1.207 (which was originally 192.168.0.206). I can ping again if I restart the samba. But everytime when I try to use the netbios name I will get the redirection changed wrongly. So I tried to use IP instead. I can browse \\freebsd and net use my home \\freebsd\ivan sucessfully. But when I try to browse \\freebsd\ivan it will hold for a minute and I will finally get the message \\192.168.0.206\ivan is not accessible. The specified network name is no longer available. Thank you. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba with PPTP
On Sunday 07 December 2003 07:36, Ivan Wong wrote: Hi I am running samba on a freebsd box (behind NAT, IP = 192.168.1.207) with pptpclient connecting to my company m$2k VPN (tunnel IP = 192.168.0.206). At first, I can ping the fbsd with its hostname (freebsd) from my company. But when I try to net use freebsd /user:xxx *, the net use will fail (err = The network path was not found.) and afterwards I can see that ping will use 192.168.1.207 (which was originally 192.168.0.206). I can ping again if I restart the samba. But everytime when I try to use the netbios name I will get the redirection changed wrongly. So I tried to use IP instead. I can browse \\freebsd and net use my home \\freebsd\ivan sucessfully. But when I try to browse \\freebsd\ivan it will hold for a minute and I will finally get the message \\192.168.0.206\ivan is not accessible. The specified network name is no longer available. Windows specifies that per subnet you need one domain master. So it won't work until you have a domain master at the other side of the pptp link. Once I made such a configuration working by bi-maping broadcast addresses. It's very ugly, but that was for a test and it did work. -Harry Thank you. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
Re: Samba with PPTP
Harald Schmalzbauer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Windows specifies that per subnet you need one domain master. So it won't work until you have a domain master at the other side of the pptp link. Once I made such a configuration working by bi-maping broadcast addresses. It's very ugly, but that was for a test and it did work. There is one domina master in the subnet 192.168.1.0 If I hardcode the mapping freebsd-192.168.0.206, it works. May I know what's the reason? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]