OpenWRT Router Setup
Alx9r's Sample Setup |
My internet connection is DSL provided by Telus. That connection is protected by a hardware router/firewall. The "EXTERNAL" network card in the LinuxMCE Core/Hybrid is plugged into that router/firewall. Other media directors will be connected to the "INTERNAL" network.
The system diagram provides a decent overview of the network topology.
I am using a Linksys WRT54GL wireless router v1.1 running OpenWrt/X-WRT.
I ended up making some changes to the router's setup to nicely accomodate the LinuxMCE system. I've described them in the sections below.
User Friendly URLs
To give the core and laptop orbiter static IP addresses (in this case 192.168.1.102 and .103), I added the following line to the WRT54GL's dnsmasq.conf file:
dhcp-host=192.168.1.102,orbiterlaptop dhcp-host=192.168.1.103,dcerouter
To make the IP addresses map to some user-friendlier names, I added the following line to the WRT54GL's hosts file:
192.168.1.102 orbiterlaptop 192.168.1.103 mc mediacenter mce linuxmce dcerouter
With these entries, you can enter http://mce into the address bar of a browser and end up at the admin page. No IP address entry necessary.
Bittorrent Port Forwarding
Under Network->Firewall, I created a port forwarding entry that looks like this:
Match Target Port Destination Ports: 60000 192.168.1.103 60000