View Single Post
Posts: 87 | Thanked: 56 times | Joined on Nov 2008
#3
Thank you very much, this was the missing piece to get DLNA to tunnel to N900 through ssh VPN tunnel.

There is small nuisance still: I don't get the standard Media player to recognize my DLNA server through tunnel. Mediabox and Zhaan are working.

Does anybody use this "fake" advertisement with standard Media player?

I create VPN tunnel with (inefficient...) ssh vpn with following commands

ssh -f -w 0:2 myhost "(sleep 1; ifconfig tun2 192.168.0.99 pointopoint 192.168.0.30 ; arp -sD 192.168.0.30 eth0 pub )"
ifconfig tun0 192.168.0.30 pointopoint 192.168.0.99
route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.0.30 tun0
route add myhost dev gprs0
route add default gw 192.168.0.1
route del default dev gprs0