Wednesday 17 August 2011

Plusnet, multiple IP address block and Tomato


I have been with Plusnet for many years, mostly because they provide services than many other providers don't. Most of those services aren't of interest to most people, however, if you're hosting multiple web servers etc then having IP address blocks and the ability to configure DNS via a web page is very useful. Please be aware, I don't think you can still get IP blocks for non-business accounts with Plusnet.

I requested an IP Block some time ago but never managed to get it working correctly. My hardware it turns out was fine; a netgear modem connected to a Linksys WRT54g router, the problem was the config on the router and despite much scouting about I couldn't get it working.

Well today, I managed to piece together about 3 or 4 different tutorials and forum posts and managed to get it all working. Follows the steps to make it happen!

If you're given a block of IP addresses, something like XXX.XXX.XXX.1 to XXX.XXX.XXX.4. The first address you cannot use, the second is for the router, the third is the free address and will be used to replace below and the final one is the broadcast address and used to replace below.

The is the internal LAN IP address used by the device you want to expose on the spare public IP

Go to - Administration > Scripts > Firewall and add the following:

#------------------------------------------------------------------
#Add additional WAN IP to Router
ifconfig vlan1:2 netmask 255.255.255.255 broadcast
#------------------------------------------------------------------

Next go to the Port Forwarding Page and add a new port forwarding rule
Proto = both (or whatever you want to make available)
Src Address =
Ext Ports = 25-5000 (or whatever you want to make available)
Int Ports = leave blank to pass to the same internal ports
Int Address = 


Save and then test whether you can access your device on the external IP that you've just configured.

No comments:

Post a Comment