TCP ports??

Hello, I have a networking question. I connect to the internet using a Cisco 675 DSL modem, and I've noticed that it acts as a firewall, meaning I have to enter NAT information into the modem for it to do port mapping, to allow communication th...




Topic Options
#54819 - 08/22/00 08:57 PM TCP ports??
Rudyatek Offline
member

Registered: 03/13/00
Posts: 21
Hello, I have a networking question. I connect to the internet using a Cisco 675 DSL modem, and I've noticed that it acts as a firewall, meaning I have to enter NAT information into the modem for it to do port mapping, to allow communication through certain ports. I need to do this for several programs I have, and set which port I opened for them, but my question is: how do I know what port numbers are available, which ones I can open for these programs? Any help or leads would be appreciated!

Top
Advertisement
#54820 - 08/22/00 11:22 PM Re: TCP ports??
clutch Offline
Carpal Tunnel

Registered: 03/29/00
Posts: 3859
If the app relies on incoming info on a certain port, then your documentation should state what you are looking for. However, if you just want to know what the majority of your system is using for ports, then go to the

c:\winnt\system32\drivers\etc\services

file. This will show what port is mapped to what function (see example below).

ftp-data 20/tcp #FTP, data
ftp 21/tcp #FTP. control
telnet 23/tcp
smtp 25/tcp mail #Simple Mail Transfer Protocol
time 37/tcp timserver
time 37/udp timserver
rlp 39/udp resource #Resource Location Protocol
nameserver 42/tcp name #Host Name Server
nameserver 42/udp name #Host Name Server

This is a sample of what is setup by default with Win2K on my system. Now here is what I had to do to connect to our ERP system;

011gui 5627/tcp # inserted by MFG/UTIL 11/17/98
011cfg 5637/tcp # inserted by MFG/UTIL 11/17/98
011play 5647/tcp # inserted by MFG/UTIL 11/17/98
011prod 5657/tcp # inserted by MFG/UTIL 11/17/98
011mfgtrain 5667/tcp # inserted by MFG/UTIL 11/17/98

The names "011xxx" match with databases in our test environment. When we connect to a database, we just use the "service" name (name mapped to a given port in this file). Once you know what port you have this traffic on, you should be able to go into your router and define the port number to forward all traffic to your PC's IP. Bear in mind that some apps won't list (and don't need to) what port they use in this file (important ones like Q3A and UT come to mind :)). This should give you a good idea of what traffic your machine requires. In addition, some apps will work fine without port-forwarding from your router (like web browsing and FTP client usage).

HTH

------------------
Regards,

clutch

Top


Forums
Windows Support Forums
Everything New Technology
Legacy OS
Hardware
Software
Games
Networking
Customization & Tweaking
Security

Linux Support Forums
Everything Linux
Linux Hardware
Linux Software
Linux Games
Linux Networking
Linux Customization & Tweaking
Linux Security

Apple Support Forums
Everything Apple
Recent Topics
How to Transfer SMS/Contacts for Windows Mobile Ph
by StongZ
Today at 01:54 AM
Carmageddon 2 weird
by Kuikie
12/29/09 04:32 PM
Computer Repair Utility Kit
by gailerl
12/28/09 01:26 PM
x86 OS, RAM, & Virtual Machines
by Myke
12/22/09 08:16 PM
Ram Question
by JohnnyAshes
12/21/09 09:50 PM
Who's Online
0 Registered (), 178 Guests and 46 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
91424 Members
24 Forums
59384 Topics
189917 Posts

Max Online: 1079 @ 03/12/08 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22