I have upgraded my broadband connection and the setup of my (numerous) openvpn tunnels recently. So I went back to have a look at remote LMS access and tried to play locally from a remote server.
I use Openvpn to bridge a split network (192.168.1.0/24), it is a p2p setup, udp transport. Ping is stable and, I expect, good enough, at around 45ms (measured at each vpn endpoint, pinging either the LMS server or the SB3 player) On each site, there is a local default gateway and a DHCP server (ebtables is used on each vpn endpoint to block leases that could be offered across the bridge.) Long story short on name resolution: both sides have global mDNS resolution capability. For DNS, my side has an autoritative DNS server, and the remote side has nothing except a few static /etc/hosts entries. On the remote side, the LMS server is colocated with the vpn endpoint. It is about certain that LMS was started before the tunnel was up, however the machine has only one L3 device, a bridge that gets its fixed address via the local DHCP server (192.168.1.51) On my side, I connected an SB3 to the wired vlan, the local DHCP server gives it a fixed address (192.168.1.251) Discovery works perfectly well. I pointed my SB3 to connect to the remote LMS server. Menu navigation via IR is snappy. I can use the LMS server web interface at 192.168.1.51:9000 and all looks perfectly fine. Problem, when I press the play button on the SB3 (or the web interface), the player mediates a bit and then comes to a stop. I can't get anything to play at my site (music files or radios). This is what I see at the local vpn endpoint when I press play on the remote: Code: -------------------- # tcpdump -v -n -i br0 tcp and host 192.168.1.251 and port not 3483 tcpdump: listening on br0, link-type EN10MB (Ethernet), capture size 262144 bytes 15:03:44.661146 IP (tos 0x0, ttl 64, id 2963, offset 0, flags [none], proto TCP (6), length 44) 192.168.1.251.47733 > 192.168.1.51.9000: Flags [S], cksum 0x6133 (correct), seq 1628005325, win 4096, options [mss 1460], length 0 15:03:44.705383 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 44) 192.168.1.51.9000 > 192.168.1.251.47733: Flags [S.], cksum 0xca4c (correct), seq 2413471094, ack 1628005326, win 29200, options [mss 1320], length 0 15:03:44.705801 IP (tos 0x0, ttl 64, id 2973, offset 0, flags [none], proto TCP (6), length 40) 192.168.1.251.47733 > 192.168.1.51.9000: Flags [.], cksum 0x3066 (correct), ack 1, win 9000, length 0 15:03:44.706513 IP (tos 0x0, ttl 64, id 2974, offset 0, flags [none], proto TCP (6), length 93) 192.168.1.251.47733 > 192.168.1.51.9000: Flags [P.], cksum 0xd31f (correct), seq 1:54, ack 1, win 9000, length 53 15:03:44.757389 IP (tos 0x0, ttl 64, id 15237, offset 0, flags [DF], proto TCP (6), length 40) 192.168.1.51.9000 > 192.168.1.251.47733: Flags [.], cksum 0xe148 (correct), ack 54, win 29200, length 0 15:03:44.761346 IP (tos 0x0, ttl 64, id 15238, offset 0, flags [DF], proto TCP (6), length 156) 192.168.1.51.9000 > 192.168.1.251.47733: Flags [P.], cksum 0xd8f3 (correct), seq 1:117, ack 54, win 29200, length 116 15:03:44.793579 IP (tos 0x0, ttl 64, id 2982, offset 0, flags [none], proto TCP (6), length 40) 192.168.1.251.47733 > 192.168.1.51.9000: Flags [.], cksum 0x2fbd (correct), ack 117, win 9000, length 0 15:03:45.078237 IP (tos 0x0, ttl 64, id 15239, offset 0, flags [DF], proto TCP (6), length 1360) 192.168.1.51.9000 > 192.168.1.251.47733: Flags [.], cksum 0x8091 (correct), seq 117:1437, ack 54, win 29200, length 1320 15:03:45.088624 IP (tos 0x0, ttl 64, id 2985, offset 0, flags [none], proto TCP (6), length 40) 192.168.1.251.47733 > 192.168.1.51.9000: Flags [.], cksum 0x2a95 (correct), ack 1437, win 9000, length 0 15:03:45.090741 IP (tos 0x0, ttl 64, id 15240, offset 0, flags [DF], proto TCP (6), length 1360) 192.168.1.51.9000 > 192.168.1.251.47733: Flags [.], cksum 0xe966 (correct), seq 1437:2757, ack 54, win 29200, length 1320 15:03:45.100572 IP (tos 0x0, ttl 64, id 2986, offset 0, flags [none], proto TCP (6), length 40) 192.168.1.251.47733 > 192.168.1.51.9000: Flags [.], cksum 0x256d (correct), ack 2757, win 9000, length 0 15:03:45.102382 IP (tos 0x0, ttl 64, id 15241, offset 0, flags [DF], proto TCP (6), length 1360) 192.168.1.51.9000 > 192.168.1.251.47733: Flags [.], cksum 0x94d1 (correct), seq 2757:4077, ack 54, win 29200, length 1320 15:03:45.112572 IP (tos 0x0, ttl 64, id 2987, offset 0, flags [none], proto TCP (6), length 40) 192.168.1.251.47733 > 192.168.1.51.9000: Flags [.], cksum 0x2045 (correct), ack 4077, win 9000, length 0 15:03:45.115105 IP (tos 0x0, ttl 64, id 15242, offset 0, flags [DF], proto TCP (6), length 1360) 192.168.1.51.9000 > 192.168.1.251.47733: Flags [.], cksum 0x8fa9 (correct), seq 4077:5397, ack 54, win 29200, length 1320 15:03:45.125573 IP (tos 0x0, ttl 64, id 2988, offset 0, flags [none], proto TCP (6), length 40) 192.168.1.251.47733 > 192.168.1.51.9000: Flags [.], cksum 0x1b1d (correct), ack 5397, win 9000, length 0 ... -------------------- I have no idea of what the problem can be. I don't want to restart the LMS server now, because it is in use ;) I feel knowledge of the server<->client protocol for "play" could help, here. Anyone? 3 SB 3 Libratone Loop, Zipp Mini iPeng (iPhone + iPad) LMS 7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa IRBlaster by Gwendesign (Felix) Server Power Control by Gordon Harris Smart Mix, Music Walk With Me, What Was That Tune? by Michael Herger PowerSave by Jason Holtzapple Song Info, Song Lyrics by Erland Isaksson AirPlay Bridge by philippe_44 WeatherTime by Martin Rehfeld Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins. ------------------------------------------------------------------------ epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711 View this thread: http://forums.slimdevices.com/showthread.php?t=105533
_______________________________________________ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss