নেটখাতা

September 10, 2010

Opening Port in Nokia Siemens 1600 Residential Router for Azureus or Vuze on Fedora 13

For running BT clients like Azureus (or, as it is called now Vuze) needs opening a port, or forwarding a port to the router. This becomes more difficult for the BSNL ISP because it assigns a new port every time the router is powered on. My router is Nokia Siemens Residential Router 1600. I faced a lot of problems. So I am writing here all the steps that it may help others. Here we describe, Fixing the internal IP, then opening the port, and then readjusting the firewall rules for a Fedora 13 system.

There is a guide on Port Forwarding Azureus on the NokiaSiemens C2110. This gives some ideas. But, the problem is, the tools given there are for MS-Windows systems, and the Simens Nokia 1600 Residential router is quite different from the one given there. This router that was provided by the ISP — BSNL Dataone, and this is much cheaper than the C2110 model, and hence with a much less and cryptic functionality. And the obnoxious thing is that, the ISP, while giving me the router did not give any manual, only an MS-Windows driver CD that no GNU-Linux user does ever need. Let me give here the details for anyone in the same kind of fix.

These were the steps taken to open the port for Azureus (or, Vuze, as you call it) and readjust the firewall rules on a Fedora 13 system with Nokia Siemens Residential Router 1600 (with WL). I am writing here in a bit detailed way, such that people like me, not conversant in network things, can get some help.

Step 1.

The first problem was the fluid or dynamic IP. The ISP makes it that way. Every time my router powers on it gets a new IP. This assigns an IP to my machine. This can be dynamic too, if configured the DHCP way. But, this internal IP has to be made ‘fixed’ if to enable port forwarding. This was already done in my machine, because I regularly use some ‘rsync’ backup scripts between my desktop (internal IP 192.168.1.2) and my laptop (192.168.1.3). There are many ways to do this, like using ‘ifconfig’ and ‘route add default gw’, which I used before. But, these days I use ’system-config-network’ — a GUI frontend for all these things.

So first I become superuser and run ’system-config-network’. This brings up this window.
system-config-network

Here in default, the ethernet card should be eth0, but my original one with the motherboard was giving problems, so I added this ethernet-card, and it is shown as eth1. Now I click on this connection and click ‘Edit’ on the topbar, this brings up this card configuration window.
Ethernet Configuration

As we can see, here ‘Statically Set IP’ is clicked, and the IP of this desktop is given to 192.168.1.2, subnet mask 255.255.255.0 and the gateway, the router, is set to be 192.168.1.1. We make here OK and come out. So, our first task, setting a fixed internal IP 192.168.1.2 for the machine was done under the router as 192.168.1.1.

Step 2.
Now we enter the router by issuing ‘http://192.168.1.1′, without the quotes, in the browser. This shows this window for Nokia Siemens Residential Router 1600 (with WL). This opens this window.
Nokia Siemens 1600 Residential Router

Here, as we can see, the IP of the router is shown to be 192.168.1.1. And ISP has provided it with the dynamic IP 59.93.240.1. The two lines below it show the Google DNS 8.8.8.8 and 8.8.4.4 — these two DNS were fed into the router because it helps to access some sites that are not at times blocked by ISP assigned DNS.

Step 3.

Now we go to the page ‘http://192.168.1.1/scvrtsrv.cmd?action=view’ without the quotes. This page I could get in the manual that BSNL never gave me. I got the address of the page from the Net, just like another very necessary page of the router; ‘http://192.168.1.1/main.html’ — this page gives all very necessary things like the DNS set-up and all, and many other things, by clicking ‘Advanced Setup’.

Now, after I have forwarded my port, this page ‘http://192.168.1.1/scvrtsrv.cmd?action=view’ has this look.
Router NAT Table

As we can see, two ports are already setup here: 6881 and 61640.

Step 4.

This 6881 port is fixed for Azureus, but the other port we get from Azurues options. We open Azureus — Tools — Options — Connection, and this gives this window.
Azureus/Vuze Port Option

As we can see, 61640 is given there. This we can change too, by clicking Azureus — Tools — Configuration Wizard, and going step by step. Azureus or Vuze (as it is called these days) Wiki will give us some idea. We can very well choose the port that was automatically selected by Azureus as we got in the option. We write down this number.

Step 5.

We go to this page ‘http://192.168.1.1/scvrtsrv.cmd?action=view’ of our router and click ‘Add’ there. This gives us this window.
Adding NAT

Here we select ‘Custom Server’ and give a name, say, like ‘custom1′. Then we put ‘6881′ in both ‘External Port Start’ and ‘External Port End’. And choose ‘TCP/UDP’ in ‘Protocol’. Then click ‘Save’. We repeat the same step for the port we have chosen in Azureus options. Again we click ’save’ and we get the ports opened.

Step 6. Now we go to Azureus and go to Tools — Configuration Wizard. In the third step we come to the ‘Port Test’ window. If we did the earlier steps correctly we should get an ‘OK’ here when we test for the port we chose.

Step 6.

Now we change the firewall rules. As superuser we start ’system-config-firewall’. This opens the firewall window. Now we click ‘Other Ports’. Then we click ‘Add’ and this opens this window.
system-config-firewall

Here we have clicked ‘User Defined’, and we add ‘6881′ for ‘TCP’, then again ‘6881′ for ‘UDP’. We repeat the same step for the port we chose from Azureus Options.
Then we click ‘OK’ and come out.

Step 7.

Now we activate the firewall rules by becoming root and issuing ’service iptables start && service ip6tables start’. Most probably ’system-config-firewall’ did already look after this, but there is no harm in doing it once again.

Hope it helps.

Filed under: গ্নু-লিনাক্স — dd @ 12:31 pm

25 Comments »

  1. Fuck you, my modem is not supporting 192.168.1.1 ………you dickhead, go fuck your selff, motherfucker, assholehacker

    Comment by RapeRXXX — April 19, 2011 @ 11:57 am

  2. Translated into normal language, your comment tells that you don’t know how to fix the IP at 192.168.1.1. Google ‘how to set fixed IP’ or something like that, and you will get it. Then read this.

    Comment by dd — April 20, 2011 @ 6:27 pm

  3. Thanks a lot.Your guide worked.I was having this problem since 1yr but am happy enough now to see that my port has been opened.

    Comment by Dhiraj Kush — May 31, 2011 @ 8:46 pm

  4. You are welcome.

    Comment by dd — May 31, 2011 @ 10:46 pm

  5. I didn’t get the cd. Could you please tell me where can I find the driver files

    Comment by KK — March 7, 2012 @ 1:46 pm

  6. Thanks for the guide.
    I am having a problem. Do i need to pay extra money for it or its free. Reply Soon

    Comment by Shashank — March 11, 2012 @ 1:06 pm

  7. @KK

    You may go to Nokia-Siemens site and search for ‘Support’. Search in Google with the string “Nokia-Simens Residential Router 1600 software driver’. I think you will get related links.

    I work in GNU-Linux environment, in Fedora 16, and like any GNU-Linux OS, don’t need any driver CD, because all the drivers are pre-loaded in the OS.

    Comment by dd — March 11, 2012 @ 1:53 pm

  8. @Shashank

    I would reply if I can.

    And payment to whom you are talking about: BSNL or Nokia-Siemens?

    Comment by dd — March 11, 2012 @ 1:54 pm

  9. I am talking about BSNL

    Comment by Shashank — March 11, 2012 @ 7:20 pm

  10. Reply soon

    Comment by Shashank — March 12, 2012 @ 8:10 pm

  11. Reply soon
    I will be checking.

    Comment by Shashank — March 12, 2012 @ 8:10 pm

  12. @Shashank

    I am quite perplexed about your question of payment. See, it is a personal blog. I wrote this just to help others in a fix like me. You can ask me anything — if its within my ability, I will tell you. Where from the question of payment comes?

    Comment by dd — March 12, 2012 @ 8:35 pm

  13. If i open the port and i am using BSNL internet. does he take any extra charges from me?
    Thank you.

    Comment by Shashank — March 20, 2012 @ 3:31 pm

  14. @dd
    Awesome guide, very detailed and really easy for the ones who are not familiar with internet settings (including me). One question though, in step 5 you told all the fields to fill but not the “server IP address” field. It is not accepting what is already written that is “192.168.1.”, when I try to save. And know this that I did not provide a fixed internal IP, as I’m doing this on test basis for another application(not Vuze) for one time only. If I need to do it again I will then set the IP. I just told you this, in case this one time thing affects the SERVER IP ADDRESS setting. So what should I put in that field?

    Comment by Abhishek — March 28, 2012 @ 11:08 pm

  15. Here you have to fill in the ip of the machine whose ports you are opening. Like, in my case, my machine’s ip is configured manually, at 192.168.1.2, and hence I just put a 2 after the period after the last 1.

    Comment by dd — April 14, 2012 @ 8:19 pm

  16. And I was extremely preoccupied with some engagements, and hence I could not reply earlier, though I saw that you have made a comment. Sorry for that.

    Comment by dd — April 14, 2012 @ 8:21 pm

  17. @dd,

    I guess, you did not configure the router in pppoe mode, as that will choose dhcp by default, but in bridge mode. Is that correct?

    Comment by Imran — May 16, 2012 @ 4:00 pm

  18. @Imran

    The pppoe configuration is done, in my case, within the router. While, editing the network connection locally in my machine, enable to choose the manner of ip-assigning. Like, the laptop, from where I am writing this email, gets assigned 192.168.1.3, both when I connect by LAN or by WLAN. So that, it can communicate through different bash scripts with the machine that is permanently assigned 192.168.1.2 — that is, my desktop. And the router is assigned 192.168.1.1 as the default gateway of both the laptop and the desktop. What it has got to do with the pppoe configuration within the router? The router just assigns the permanent local ip-s to the two local machines. And also forwards the DNS information to them. I have given the Google DNS, 8.8.8.8 and 8.8.4.4 in the DNS information within the router. And in the network options of these local connections the DNS is assigned as 192.168.1.1, and so the desktop and the laptop both get the DNS information from the IP.

    Am I missing something in your question?

    Comment by dd — May 20, 2012 @ 9:56 pm

  19. Hey, I did the same as you explained
    1. Made my ip static
    2.forwarded port for port 11936

    I was confused with what server ip address should i give so i forwarded ports for both 192.168.1.1 and 192.168.1.2 (i only have my pc connected to the router).

    But it didnt work. Help me out please.

    Comment by Ashutosh — June 18, 2012 @ 10:28 am

  20. I have discarded the BSNL DSL connection and am using a connection from my local cable net,who have given me a static ip and dns. Can you please help me to set it up in a way that I can connect to the net simultaneously from different devices by using wifi.

    Comment by Koustav — March 5, 2013 @ 10:53 am

  21. hey i have same Nokia-Siemens router 1600 , i have a static ip from bsnl , and a high configuration PC with Ubuntu OS , can u suggest how can i turn it into a web server .

    Comment by aakash — May 2, 2013 @ 8:51 pm

  22. I was a bsnl user for 2 years , but due too frequent breakdown i switched to a local cable broadband service provider , my question is can i use my nokia Siemens 1600 router with my cable broadband .

    Comment by Latesh kunder — July 9, 2013 @ 1:00 pm

  23. Hi
    Would like get teh complete technical spefication for Nokia Siemens Residential Router 1600.

    Comment by Shekar — July 19, 2013 @ 12:27 pm

  24. Would like to thank you thank you a ton. I was supposed to be purchasing a new modem for having not found the option to do port forwarding until i cam across this document.

    Comment by Nick — December 20, 2013 @ 8:04 am

  25. I have followed your guide carefully but there is a problem which occurs i.e. when I am at step 5 a dialog box says “exceed the maximum allowable entry count by 1″
    What should I do?
    Please help!

    Comment by SENBONZAKURA — March 30, 2014 @ 8:08 pm

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress