FAQ  •  Register  •  Login

Bridge two LANs (VPN)

<<

csholmq

DLNA master

Posts: 139

Joined: Sun Mar 25, 2012 11:41 pm

Post Sun Dec 02, 2012 8:00 pm

Bridge two LANs (VPN)

My router has a VPN server built in for easy computer-to-lan connecting. Would it be possible for e.g my brother (different house) to connect to my LAN and stream directly from my Serviio server?

I understand I could easily use MediaBrowser for this, but that would only cut it for him to stream to his laptop. I would like the Serviio server to appear on his Samsung TV. I thought of using VPN and maybe he could use his laptop as some form of relay?
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Sun Dec 02, 2012 8:03 pm

Re: Bridge two LANs (VPN)

Yes if you setup the vpn so the two computers can see each other. Look at the wiki and i think there is some info there on bridging

Sent from my DROID RAZR using Tapatalk 2
Mark
Beta Tester Group
http://www.serviidb.com Online media resource repository

Netgear EVA2000 | Samsung BD-D5300 | XBOX 360 | Windows 7 | Mint Debian 12 | Raxz Maxx
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

csholmq

DLNA master

Posts: 139

Joined: Sun Mar 25, 2012 11:41 pm

Post Sun Dec 02, 2012 8:58 pm

Re: Bridge two LANs (VPN)

Thanks. I'll try it out tomorrow. Let's hope multicasting likes bridging :)
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Sun Dec 02, 2012 9:41 pm

Re: Bridge two LANs (VPN)

I have bridged two routers in my house. Serviio did finger except for HD

Sent from my DROID RAZR using Tapatalk 2
Mark
Beta Tester Group
http://www.serviidb.com Online media resource repository

Netgear EVA2000 | Samsung BD-D5300 | XBOX 360 | Windows 7 | Mint Debian 12 | Raxz Maxx
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

atc98092

User avatar

DLNA master

Posts: 5432

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Sun Dec 02, 2012 11:55 pm

Re: Bridge two LANs (VPN)

VPNing two separate networks is much more dfficult that using a single computer to VPN into another network. If both networks use the same IP address range, it will likely never work. For two separate networks to be visible across a VPN the address range must be different (i.e. they can't both be 192.168.0.x) and the routing tables for each router must know exactly how to reach each other. If the VPN is not part of your default gateway, each device needs the route to be added manually. This can't be done with most consumer video devices, such as TV and disc players.

If you simply want a single computer to VPN into another network and see the Serviio server, the only issue will be to not have matching IP address ranges at both ends. Other than that there should be no issue to view videos from the Serviio box on the computer.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

csholmq

DLNA master

Posts: 139

Joined: Sun Mar 25, 2012 11:41 pm

Post Mon Dec 03, 2012 7:00 am

Re: Bridge two LANs (VPN)

Why are separate subnetworks important?

I have a Broadcast Direction setting in my VPN server that I've set to "VPN Client to LAN". That way, all TV messages like "Hey, I'm a TV, I'm looking for a DLNA server" should go through. Then, Serviio will return with it's goods and all will be well.

Or, at least in theory :)
<<

atc98092

User avatar

DLNA master

Posts: 5432

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Mon Dec 03, 2012 1:45 pm

Re: Bridge two LANs (VPN)

csholmq wrote:Why are separate subnetworks important?

I have a Broadcast Direction setting in my VPN server that I've set to "VPN Client to LAN". That way, all TV messages like "Hey, I'm a TV, I'm looking for a DLNA server" should go through. Then, Serviio will return with it's goods and all will be well.

Or, at least in theory :)


I can't quote the precise technical reason, but two physically separate networks using the same IP address range will have all sorts of problems communicating. Mainly because device A (say your TV) will think device B (the Serviio box on the other network) is on the same physical network and can communicate directly between A and B without going through the VPN gateway. Since it thinks B is on the same local network, it won't send the packet to the VPN.

The other problem is there is a good chance that a device on network A will have the same IP address as a device on network B, and that just doesn't work. :)
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

csholmq

DLNA master

Posts: 139

Joined: Sun Mar 25, 2012 11:41 pm

Post Mon Dec 03, 2012 9:54 pm

Re: Bridge two LANs (VPN)

I've gotten the VPN to work properly, but the SSDP packets won't find their way unfortunately. I've turned on bi-directional broadcasting but when I fire up VLC the SSDP packets only seem to go to the broadcast server listed on my WiFi card rather than bounce through the VPN tunnel, even though all traffic goes there by default.

Here's my specs;
ASUS RT-N56U PPTP VPN server
Bi-directional broadcast enabled
LAN: 192.168.1.*
VPN: 192.168.10.*
Tunnel: 192.168.10.* -> 192.168.1.1

I'm able to ping the Serviio server (192.168.1.2) so the basic routing is there. Any tips?
<<

atc98092

User avatar

DLNA master

Posts: 5432

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Mon Dec 03, 2012 11:25 pm

Re: Bridge two LANs (VPN)

csholmq wrote:I've gotten the VPN to work properly, but the SSDP packets won't find their way unfortunately. I've turned on bi-directional broadcasting but when I fire up VLC the SSDP packets only seem to go to the broadcast server listed on my WiFi card rather than bounce through the VPN tunnel, even though all traffic goes there by default.

Here's my specs;
ASUS RT-N56U PPTP VPN server
Bi-directional broadcast enabled
LAN: 192.168.1.*
VPN: 192.168.10.*
Tunnel: 192.168.10.* -> 192.168.1.1

I'm able to ping the Serviio server (192.168.1.2) so the basic routing is there. Any tips?


I wish I understood routing better than I do, but I've kind of reached my limit of knowledge. I do have some network routing between multiple IP ranges, but I have no need (or desire) for broadcasts to reach the other subnets, so I've ignored that area. When you're self taught, sometimes some valuable areas of expertise are missed. :lol: It's possible that broadcasts are not routable outside your local network.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Tue Dec 04, 2012 12:56 am

Re: Bridge two LANs (VPN)

Look for a qos or dlna setting

Sent from my DROID RAZR using Tapatalk 2
Mark
Beta Tester Group
http://www.serviidb.com Online media resource repository

Netgear EVA2000 | Samsung BD-D5300 | XBOX 360 | Windows 7 | Mint Debian 12 | Raxz Maxx
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging

Return to General discussion

Who is online

Users browsing this forum: No registered users and 31 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.