Samba with PPTP

Harald Schmalzbauer h at schmalzbauer.de
Sun Dec 7 08:24:50 PST 2003


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.
>
>
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031207/4d48967d/attachment.bin


More information about the freebsd-questions mailing list