Re: BBC TV 4 - Hawkwind: Do not panic



Rowland McDonnell <real-address-in-sig@xxxxxxxxxxxxxxx> wrote:

But do you have any idea how do I find out what a port *is* (I've never
got to the bottom of it), what `forwarding a port' means, or any idea
how I find out how to make the required changes to my router's setup?
The `helpful' BT leaflet explains that I don't need to touch my router
settings unless told to by the helpdesk - so, erm?

By default, routers only let in data that's been requested by you. If,
however, you're running a server then there will be requests to connect
from third parties as well. In that event you will need to 'forward' the
port on the router.

Let's take an example of a web server. The web works on TCP port 80.
Let's say you run a web server off your Mac, which has a local IP
address of 192.168.1.1

What you need to do is go to the port forwarding section of your router
(sometimes called 'Virtual Servers') and create an entry. Typically the
fields you fill in are source and destination port (both 80 in this
case), data type (TCP, UDP or both - choose both) and destination IP
address (192.168.1.1 in this case). Then, whenever someone types in your
external IP address into browser (212.159.71.78 say) the request to
connect gets sent to that IP (which is your router), the router says
"ah, incoming traffic on port 80 - I've got to pass that on to
192.168.1.1" and does so. In effect you're telling the router that
traffic on a certain port needs to be passed on to a certain IP address
on your local network unmolested.

The text file '/etc/services' contains a list of port numbers/services.
Typing "cat /etc/services|grep http" into Terminal.app would list the
entries that contain 'http'. There's actually rather more of them that I
expected, but 80 is the first entry.

For ftp you need to forward both ports 20 and 21, TCP and UDP to be safe
(because I can never remember what ftp uses - surely TCP?). FTP can be
tricky though because there's two kinds, 'active' and 'passive', and
20&21 only apple to 'active'...I think.


That's probably not helped much. Sorry.

Jim
--
Find me at http://www.ursaminorbeta.co.uk
AIM/iChatAV: JCAndrew2
Skype: greyarea
.



Relevant Pages

  • Re: LInksys WAG354G Router Woes
    ... my local network, one is my main computer and the other is my web server. ... The router is set to forward ports 80 and 443 to the machine with the ... WEP and trouble free port forwarding? ...
    (uk.comp.sys.mac)
  • Re: Using Remote Desktop From an SBS Domain
    ... when you tried to RDP while attached directly to a port on your router? ... So if 3389 needs forwarded on the client end too then that is what the ... Hopefully next week I can attempt a connection while my ISP watches the ...
    (microsoft.public.windows.server.sbs)
  • Re: How to Access Any Computer in a LAN by Remote Desktop
    ... >Finding the local port on client ... >is tcp) ... >It's usually telnet'ing to your router and use ... >remote desktop 123.123.123.123:3494 and you will ...
    (microsoft.public.windows.terminal_services)
  • RE: Configure Hardware Firewall for SBS 2003
    ... ports through the hardware firewall / router, do you forward it to the ip ... > hardware router. ... it's not necessary to open this port. ... > TCP 110 This port is used for POP3 mail clients. ...
    (microsoft.public.windows.server.sbs)
  • Re: Mldonkey too old? LowID?
    ... I'm not sure why my router sometimes assigns a different local IP. ... TCP port 4662 is unavailable. ... Make sure your firewall or router is allowing/forwarding this TCP service port and your ED2K client is running ... However, despite mldonkey being up and running, and I have double checked to make sure that the ports mldonkey is using are the same ones I've mapped, it's not connecting. ...
    (Ubuntu)