Bonjour and SMB over VPN

Apple Ipad 2 16 gb wi-fi + 3g black tabl...
July 1, 2012 at 10:57:48
Specs: iOS 6 and Windows 7, Some Intel crap
I recently have been playing around with VPNs and got my iPad to work quite seamlessly with my Linksys Cisco 3200 (I think) running DD WRT.

But I would like to know how to port SAMBA and Bonjour to my Home network.

From what I read, it's a multicast vs. unicast thing but if my iPad can see and ping the devices on my network, how can I get hardware specific protocols to pass.

I think it would be great to vpn in and print to my AirPrint (which works on local network) printer from afar, or use a file browser app I have, and read SMB shares, without needing the IP address of it.

See More: Bonjour and SMB over VPN

Report •

July 3, 2012 at 19:47:42
DD-WRT has that ability or should still have it.

You may have to both make a share on the system in the lan and configure in in the samba dd-wrt documentation.

Report •

July 3, 2012 at 21:39:56
Thanks for replying. I never ran across that wiki that I'm aware of during my testing, however..... The options that are proposed don't seem to exist in the sp2 build of dd-wrt.

I'm trying to use iOS devices to access shares remotely. So 'Use standard subnet of remote network' isn't an option for me.

Under Adminstration --> Management. I haven't been able to locate a 'disable loop back adapter' setting.

But I think I'm one step closer. It kind of admits this can be a problem, unless options are selected....

Thank you!

Report •

July 4, 2012 at 07:10:18
When connected via VPN, resources in the different locations should be fully accessible to each other as if said resource was in the same LAN as the client trying to connect to it.

I suspect your big problem is that you're "playing" with VPN's without really knowing what you're doing. Also, you're using a SOHO router, and it's running DD-WRT which I've looked at and did not like for various reasons.

If you're connecting two remote locations via a
Get your VPN setup correctly and resources in remote locations will be accessible as if they were local.

wanderer what is it you use for VPN endpoints? I can't for the life of me think of the name of it and I have no experience with that product either but I suspect it would perform a whole heck of a lot better than a SOHO router running DD-WRT.

It matters not how straight the gate,
How charged with punishments the scroll,
I am the master of my fate;
I am the captain of my soul.

***William Henley***

Report •

Related Solutions

July 4, 2012 at 07:22:41
Actually no. If you read up on multiple multiple sources they all specifically tell you that most VPN servers don't provide VPN multi casting. So auto discovery and other services don't travel the pipes.

Bonjour for apple applications, samba, are just two examples.

Apparently when first writing the RPC for this stuff, the Internet was much slower, and flooding each end with multicast was considered a bad idea.

My vpn works great. And I'm not about to go buy a multi-thousand dollar router.

All other stuff works as expected. Like ping, tracerouting, ARP requests, etc.

I'm sure I'm missing a setting someplace. Because yes, I'm "playing with it". Yet to lose an eye...

Report •

July 4, 2012 at 08:22:55
My vpn works great.

Right, that's why you're here asking for help with getting SAMBA and bonjour to work properly across your VPN.

And I'm not about to go buy a multi-thousand dollar router.

Actually, you don't have to spend thousands to have a good VPN endpoint which is why I pointedly asked wanderer what he uses. If I'm not mistaken, the equipment he uses is relatively speaking, inexpensive, but ever so much better at creating a VPN than a SOHO router with DD-WRT on it. It wouldn't surprise me in the least to find out DD-WRT is the problem.

As for Bonjour, I'm not familiar with it so I can say. To be honest, I avoid apple products whenever possible as they tend to not play well with the other vendors' equipment.

But I can, have, and do connect to SAMBA shares across a VPN from a windows box. Doing so shouldn't require any special settings that I can think of any more than connecting to a Windows based share should. Once you have properly established a VPN, SAMBA shares on the remote site should behave exactly like a SAMBA share on the local network.

It matters not how straight the gate,
How charged with punishments the scroll,
I am the master of my fate;
I am the captain of my soul.

***William Henley***

Report •

Ask Question