Opening and Closing TCP ports

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
General Zod
Never Shuts Up
Posts: 29211
Joined: 2003-11-18 03:08pm
Location: The Clearance Rack
Contact:

Opening and Closing TCP ports

Post by General Zod »

At the moment I'm running a windows 98 box. (Unfortunately. Though it should only be for another week or so). What I'm wanting to do is figure out how to open and close my internet ports manually, but so far I haven't been able to find much in the way of info on how to do this.

While I realise I could probably do this with the built in modem firewalls, I'd prefer to figure out how to do this by hand if possible. If anyone can explain how this is done, or better still post a link to a site that can show me what I'd need to do (without installing third party software, preferably), it'd be appreciated.
"It's you Americans. There's something about nipples you hate. If this were Germany, we'd be romping around naked on the stage here."
User avatar
Alferd Packer
Sith Marauder
Posts: 3706
Joined: 2002-07-19 09:22pm
Location: Slumgullion Pass
Contact:

Post by Alferd Packer »

From Microsoft:
Versions of Windows before Windows XP did not come with a built-in firewall. If you have a computer with an earlier version of Windows, such as Windows 2000, Windows Millennium Edition (Me), or Windows 98, you should get a firewall and install it. You can use a hardware firewall or a software firewall. The following resources provide more information about your firewall options...
Of course, you probably only have a handful of ports open anyway, since you're probably not running many services. If you're really concerned, you need a commercially available stateful firewall application, or a spare box with Linux installed. That comes with a stateful firewall called iptables.

EDIT: Of course, if you're just interested in opening and closing ports, then what you should do is portscan your Win98 box, figure out what services are holding ports open, and start disabling those services. nmap is an excellent port scanner for Linux; I don't know if there is a Win98 port of it available, or if there are open source portscanners for Windows.
"There is a principle which is a bar against all information, which is proof against all arguments and which cannot fail to keep a man in everlasting ignorance--that principle is contempt prior to investigation." -Herbert Spencer

"Against stupidity the gods themselves contend in vain." - Schiller, Die Jungfrau von Orleans, III vi.
User avatar
Pu-239
Sith Marauder
Posts: 4727
Joined: 2002-10-21 08:44am
Location: Fake Virginia

Post by Pu-239 »

nmap only works on WinNT derivatives (not 95/98/ME)

ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer


George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
User avatar
Spacebeard
Padawan Learner
Posts: 473
Joined: 2005-03-21 10:52pm
Location: MD, USA

Re: Opening and Closing TCP ports

Post by Spacebeard »

General Zod wrote: While I realise I could probably do this with the built in modem firewalls, I'd prefer to figure out how to do this by hand if possible. If anyone can explain how this is done, or better still post a link to a site that can show me what I'd need to do (without installing third party software, preferably), it'd be appreciated.
As others have mentioned, you could run nmap from a Linux or WinNT machine. There are also some web-based port scanning services you could use... DSLreports has one here. Steve Gibson's online scanner at grc.com is also popular, and decent enough for examining Windows PCs, but take everything he says on his website with a truckload of salt; the man's an ego-driven charlatan and snake oil salesman.
"This war, all around us, is being fought over the very meanings of words." - Chad, Deus Ex
Post Reply