PDA

View Full Version : Port Fowarding?


K.I.A.
17-03-2004, 06:59 PM
Ok, i'm trying to open ports on my modem (nb1300) so BT can connect though it and i get a better speed.

quote from http://btfaq.com/serve/cache/25.html

However, you will get better speeds if you allow incoming connections as well. To do this you must use the "port forwarding" feature of whatever is performing the NAT/gateway task. For example, if you have a cable or DSL connection and a router/switch/gateway/firewall, you will need to go into the configuration of this device and forward ports 6881-6889 to the local machine that will be using BitTorrent. If your device makes it hard to enter a range of ports (if you must enter each one separately), then you can just do the first 10 or so ports, or however many simultaneous clients you plan to ever have open. If more than one person behind such a gateway wishes to use BitTorrent, then each machine should use a different port range, and the gateway should be configured to forward each port range to the corresponding local machine.

But when i go into the settings page (http://192.168.1.1./) i get confused. The ports on the quote are public ports right? so what should i put for the private port? FTP, DNS or some other one?

andrewh
17-03-2004, 07:34 PM
The private port is the port on your local machine which you want to forward the public port to.

Usually you'd probably want to set them to the same values but you could redirect traffic from public port x to private port y if you wanted to.

For what you're doing, you should set public and private ports to the same value.

K.I.A.
18-03-2004, 06:40 PM
ok, one more thingo, wat should i put as my host ip address? For ports 21 and 23 it has 192.xxx.x.xxx but theres alos one that said my computer ip, the one which starts with 218.xxx.xx.xx which one do i put?

andrewh
18-03-2004, 10:03 PM
You need to put the IP address of your computer on the local network. Assuming you only have the standard single IP address from Swiftel, the IP address to use would start with 192.168.1.x.

Do ipconfig on your computer to see what your IP address is and then stick this in the host field.

If that doesn't work, some more details about how the network is set up would be helpful, such as the IP addresses in use and the way that the modem is connected.

K.I.A.
19-03-2004, 03:31 PM
I've read somewhere that enabling yor DMZ helps, wats that? Should i do that?

Edit: or can i disable NAT, would it do the same thing as the port fowarding, except without the security?

andrewh
19-03-2004, 03:40 PM
To be honest I don't know about either of those settings on the NB 1300.

You could stick the modem into half or full bridge mode and attach it directly to your computer if you currently have only one computer connected to it and wish to effectively forward all ports to your computer. This reduces secutiry to practically none though without some sort of firewall.

K.I.A.
19-03-2004, 03:48 PM
ok then. Just one more thing, i did the ipconfig it said my ip was 192.168.1.2 But the netcomm modems are set to 192.168.1.1(lan) right? Which one do i put? 1 or 2 or 192.168.1.255(host ip) which ports 23 n 21 are forwarded to? Or my static ip address(wan) which is also different from all of those?

N does bt use UDP as well as TCP or just TCP?

Please ppl's

Edit: i dont know what i've done but i've got 6881 open now on 192.168.1.2, but all the rest r closed when i set it to 192.168.1.2

andrewh
19-03-2004, 05:17 PM
Even though the ports are forwarded they won't appear open unless you have a service running on them. Perhaps the BT client opens new ports only when it needs them.

I suppose you've figured this out now, but the correct host to use is 192.168.1.2.

I think the reason that ports 21(ftp) and 23(telnet) are forwarded to 192.168.1.255 (the broadcast address) is to prevent incoming connections on those ports as the modem has a built in FTP and Telnet server for configuring.