A.K.A. Public (and probably static) IP address for residential UPC customers.
I have a huge bandwidth internet connection, so why don’t let my friends download or upload files to my house, it makes feel us closer, it’s funny to share things, it can be actually useful in some cases.
I live in the Netherlands and here are several companies which offer different internet connections, but the common element is that houses are built with fiber channel in mind, differently from Italy, that’s why we have actually 50Mbit in download and 4Mbit in upload. For this reason I want to try to discover, for example, whether the ip address is a static one (still the same in two months) and other funny things.
So the first thing to do is to check if the router distributed by UPC can actually act as a bridge so I can manage myself all incoming connections having a public ip address. Also I have a spare Cisco E2000 with dd-wrt that eventually can assume the public ip while the cisco turns in a simple bridge.
And.. yes it can be done, but you have to trick your UPC router administrative webpage html content by simply injecting some new html code in the page, to do this you should use an advanced debugging capabilities browser like Mozilla Firefox with Firebug or Google Chrome with Developer tools. Take a look at this post for further explanation about client side html injection technique. So it stands to you, at the end if you are here you already know about networking, so I suppose you know what “client-side html injection” means. So, at the end if you can’t find a way out, at worst you can save the source html of your cisco page (we will see which page soon) on your desktop, add your code, save and then run the page in your browser right after having established an authenticated session with your router web server, thus when you will submit your modified html page form to the server side, it will believe it is a legitimate posted value on an already established http connection (that’s why you should login right before execute the wizardry, since then you have 20 minutes, i think).
We should start saying that normally, if you buy this router, it would come with such an option, but UPC delivers the router with a custom firmware, in order to hide also things like the “bridge mode” option in the administrative panel, and who knows what else. This means that we could possibly update the router firmware, but I cannot risk to stay more that one minute without internet connection so I won’t go further on this.
- Log in to your Cisco EPC-3925
- Click on “Administration” on the top menu bar
- Select the first tab under the menu bar, the one called “Management”
- In the first section (“Management”) is where we are going to inject our new drop down menu or HTML Select.
- Take a look at the image below I just found one that is perfect, look at the bottom part of the browser: that is the part which let us inject our code.
- Code to inject:
- Select the bridge mode from the new drop-down menu.
- Before you save you should know that until you configure another router, the first machine which connects with the router will get a public ip address and will be directly on the internet, thanks, obviously to the bridged mode.
- Another thing you should know before saving is that you are going to set-up a new subnet with the second router (in my case the e-2000 with dd-wrt), so watch your addresses groups / subnets, because if, as predictable, you will not change the internal subnet you will be probably unable to reconnect back to your bridge administrative web interface.
- Configure your second router, remember, it will have the public internet connection IP address.
Good luck, should you find yourself in troubles, leave a comment, although I seriously doubt that you can leave comments without a working router 😉