Slingbox is a TV streaming device that enables consumers to remotely view their cable sattelite or personal video recorder (PVR) programming from an Internet-enabled computer with abroadband Internet connectio.

I was in New York, more than a year ago when a friend of mine had a problem with his Slingbox after moving to another Internet Service Provider in uptown NY area. The thing is, even if he use public IP address, the SlingBox just wouldn’t work. He’s a little pissed since the ISP and SlingBox customer support were unable to make his Slingbox work. I told him I will help him resolve the problem, and that I have a little trick for him but he has to configure his SlingBox to use private IP address (He has several computers inside NAT in his place). He told me that it is not possible so I had to prove to him that it is absolutely possible.

Below are iptables statements I used to make my friend’s SlingBox work inside NAT.

iptables -A FORWARD -i eth0 -p tcp –dport 5001 -d 192.168.30.100 -j ACCEPT
iptables -t nat -A PREROUTING -i eth0 -p tcp –dport 5001 -j DNAT –to-destination 192.168.30.100:5001

He was very happy after I was able to resolve his problem, In fact he asked me to bring one to Manila so he could access it and watch his favorite Filipino shows live.

By the way, I assigned 192.168.30.100 as the IP address of his Slingbox.

:D

Popularity: 1% [?]