Port Opening and Forwarding on Windows XP
As a hacker, it is necessary to know the basics of port opening and forwarding. Why is that? Computer enthusiasts usually setup firewalls so that they can be online with less worries of an outside intrusion from the untamed Internet. They also usually have programs that require access to a port. Some programs include BitTorrent (Shame on you!), P2P Gnutella programs like Phex (Shame on you!), NetMeeting, some instant messaging programs, and servers (like HTTP, Remote Desktop, FTP). Since firewalls block all ports, it is necessary to manually open the ones that are needed.
Port Opening
Most firewall programs let you choose which ports to leave open. I use the native Windows XP Firewall, which makes it pretty simple.
Go to the “Control Panel” and open “Network Connections.” Right click on the connection that you use to access the Internet. Most of the time, it is “Local Area Connection.” Select “Properties”.
Go to the “Advanced” tab and click “Settings” under “Windows Firewall.”
Depending on which version of Windows XP you have (Original Build, SP1, SP2) you may see something different. Regardless, you should have upgraded to SP2. If not, shame on you!
Go to the Exceptions Tab (in SP2).
If you just want to give a program unlimited access to any port, click “Add Program.” I personally think that is too risky so I just give access on a port-by-port basis and click “Add Port.”
Give the port a name, any name, a name that will inspire and astound you, a name that is descriptive of the activity that will be going through it (i.e. “Gnuttella Traffic”). Or, you can just call it “asdfjkah jfhdas;jh fj;;sjfku;.” It’s your pick. “Port Number” is a bit more restrictive. Give the number of the port that needs to be opened. You may have to look this up online if it is not a common port. HTTP uses 80, FTP uses 21, P2P Gnutella uses a range of ports, as does BitTorrnet. Specify which protocol you want to use, TCP or UDP. To be sure, just do this process twice selecting TCP the first time and UDP the second time.
OK? OK! Click OK, OK, OK, OK! Voila! You have opened a port!
Port Forwarding
You’ve opened a port. So, the program (or server) should work right? Wrong! If you are sharing an Internet connection with anyone else, if you are sharing an IP address, or if you are using a router, more than likely, port forwarding is necessary. Why? In a typical home networking setup, you have the Internet coming from a DSL or Cable modem. That modem is connected to a router, which is then connected to your computers by Ethernet or WiFi. The router is the device that the Internet sees; it holds the public IP address. Your computer, on the other hand, is invisible to the Internet as it holds a local IP address (normally 192.168.0.2). Port forwarding is necessary in the router because computers will send information directed to the public IP address and the router needs to know where to send that information, your computer or any other computers on the network.
To forward a port, you need to have access to the device (i.e. router) that holds the public IP address. For most networks, this is your local IP address with the last number at 1. For example, if your computer is on 192.168.55.100, the administration console for the device is 192.168.55.1. Just type that into an Internet browser. When it asks for the username and password it is usually “admin” and no password. See the router manual or just hard reset it (with a paperclip) if you don’t remember the password.
Administration consoles are different with each router. Basically look for “port forwarding,” “firewall,” or “virtual server.” All the routers that I have used mask port forwarding as “Virtual Server.”
Basically, you will enter any name for the port that you want to forward. For Private IP, give the IP address of the computer on your network that will need this port. Protocol is whichever one you need for your setup. Do both like you did in the port opening example above to make sure you will get correct access to the port. Private port is the port that is opened on your local computer end. Public port is the port that you want to forward on the router. Usually these two will be the same.
Presto! You have port forwarding! If you have any questions, leave a comment and I will try to answer them.
May 5th, 2006 at 11:16 pm
how can i make a remote desktop application in php?
what are the steps i should follow? or can you help me giving this kind of programs code in php?
look forware to hearing from you.
thanks,
Hasan.
May 7th, 2006 at 5:23 pm
to my knowledge, there is no way to make a remote desktop application in PHP. since PHP is a server side language it would definately be too slow and html rendering would be chaotic.
I’m assuming that you’re trying to implement Remote Desktop in a browser window. instead of using a server-side setup (like with PHP) you would use a client-side setup (like Java or ActiveX). I only know of one ActiveX component that does this. It is already provided by microsoft. just follow their instuctions here:
http://www.microsoft.com/windowsxp/using/networking/expert/northrup_03may16.mspx
if you still need help, feel free to contact me.
May 8th, 2006 at 2:30 am
thanks a lot for your reply Alan, i’m seeing it right now, if i’ve any question then i’ll tell you.
Hasan.
June 1st, 2006 at 7:49 am
I have a desktop connected to a router as well as a laptop, that connects wireless to it. When I forward ports for the laptop, i experience no problems as such, but when I do the same for my desktop, the internet connection gets very slow. This is particularly seen when I download torrents. How can i correct this problem.
Thanks
June 1st, 2006 at 9:26 am
I would just go to your torrent client connection configuration and limit the uploading (and maybe even downloading) speed. You could also limit the number of concurrent connections instead of the actual bandwidth.
September 5th, 2006 at 10:34 am
how to find administrative console address when the computer is connected in LAN?
September 10th, 2006 at 5:55 pm
go to the start menu and click run.
if you are using windows xp/net type “cmd” then “ipconfig”
all other windows users type “winipcfg”
the gateway ip address is usually the admin console address.
November 21st, 2006 at 9:45 am
Any pointers for enabling port-forwarding where no router is employed?
My cable modem connects directly to my main PC, which has a second NIC for the local network.
I am streaming video on a laptop and can view the stream on any other PC using http://192.168.0.15:1066, but obviously someone calling on http://(my IP address):1066 needs to be redirected from this main PC to the laptop.
In Windows Firewall ‘Exceptions’ I created a new port entry ‘Laptop Streaming’ with Port number 1066 for TCP. Change Scope left at ‘Any computer’.
In Windows Firewall Advanced tab I changes settings for my ISP connection to add a new ‘Laptop streaming’ entry with name of 192.168.0.15 and 1066 in both ports for TCP.
Can’t see what I have done wrong but it refuses to connect.
Thanks for any help.
December 19th, 2006 at 2:26 pm
I liked your thorough explanation. But unfortunatly my configuration is different. I have a ASUS P5W-DH based PC with two NICs and wireless on board. One nic is hooked up to the cable modem and the other PCs at home connect to the wireless. All this works fine unless I want to access any of these “other PCs” from the internet (e.g. using simpledesktop). Well I can do without that (though it would be really nice) but I want to run a ftp server within a virtual machine on that main PC. And that is where it gets tricky.
The ftpserver (filezilla) receives my connection attempt, but answers “could not send reply, disconnected”. It is not firewalls blocking anything – I disabled them (host: xp (prof.) firewall, vm:: sygate personal firewall) for a quick trial.
I’d be happy for any suggestions which way to turn next.
Stefan
March 10th, 2007 at 9:24 pm
i thoroughly liked how you explained everything, but i still can’t get my port to show as open. i’m using utorrent and trying to forward my utorrent files to my computer. now when i check to see if my port is forwarding, it shows port not forwarding for i totally different IP address than the one i had put in the router to specify my computer. does that have something to do with it? i’ve been trying to get this port forwarding to work all day. please help if you can.
thanks,
heather
April 17th, 2007 at 7:28 am
Hi. I have a situation and i will be pleased if someone will help me. I have a small local network between 2 computers using a shared connection. The first computer has an internal DSL modem (Intel(R) PRO/DSL 2200 Modem), the second computer connects to internet thru the first thru LAN… How can i forward a port? I could not find any information useful to me.. except some basic information about NAT.. The thing is that my modem has not a WEB Interface.. It has just some basic config (VPI,VCI… Line Coding Stardart). Can i make it to forward a port? Maybe there is some software doing that? The thing is that i want to acces my second computer thru internet from my office with Remote Administrator (famatech). Thanks in advance and sorry for my english.. Im from Moldova.
April 23rd, 2007 at 6:49 pm
I don’t have a router. MachineA have direct connect to internet and MachineB (know as 192.168.0.2) have a apache server.
I set port forwarding for P2P applications and works fine, but with the apache server don’t works.
With MachinaA I can access to 192:168.0.2:80, but from outside not. I did a port forwarding for port 80, but don’t works. 🙁
Any help? Many Thanks
May 19th, 2007 at 7:45 am
how do i forward ports if the router is a windows xp server?
August 10th, 2007 at 1:44 am
Hi
im on proxy at office sharing network, im unable to access ftp of my local server and even my personal online server. I can’t even connect through IE7 keep getting this message after i run the diagnostic check
Windows did not detect any problems with your internet connection over HTP or HTTPS, but was not able to make a successful connection over FTP. the most likley cause of this problem is that a firewall client running on your machine is blocking the necessary FTP ports.
how to solve this…plz tell
August 10th, 2007 at 12:13 pm
Vinod, my only diagnosis is that your office network blocks ftp ports. this is no surprise to me. many public networks do this. my only suggestion is to do setup a VPN if you have broadband at home. That way, any port available to you at home will be available to you remotely at work. read my VPN article for more details.
http://www.hackernotcracker.com/2007-04/using-virtual-private-networking-vpn-to-avoid-packet-sniffinganalysis-and-data-theft.html
September 6th, 2007 at 8:37 am
I connect my windows box to my office using “Juniper your net”.
That makes the office private 10.x.x.x network available to my windows machine, so I can do
telnet 10.x.x.x 9999 to connect to port 9999 from my windows box. I also have a linux box at home.
I’d like to be able to type
telnet (windows box) 9999 from my linux box and have it go through the juniper tunnel and connect to the office.
I can already telnet from linux to windows, and then from windows to office, so it seems I ought to be able to pass through, but I can’t figure out how.
thanks,
Mark
September 19th, 2007 at 2:55 am
[…] You need to forward a port to get beter speeds from Phex, but since Google’s your friend that shouldn’t be too hard: – Which port: Can’t upload – How to forward: Port Opening and Forwarding on Windows XP – hacker not cracker __________________ -> put this banner into your own signature! All times are GMT -7. The time now is 01:54 AM. […]
October 18th, 2007 at 2:11 pm
I HAVE A NETWORK AT MY OFFICE THAT I NEED TO OPEN A PORT TO SO THAT I CAN TUNNEL INTO IT FROM MY HOME. i HAVE A ROUTER AT WORK WITH A DESKTOP AND LAPTOP CONNECTED TO IT. MY IT GUY THAT SETUP THE WORK NETWORK SAYS THIS CAN BE DONE BUT WILL CHARGE ME ALOT TO COME TO MY OFFICE AN DO THIS FOR ME. HE SAID ALL I NEED IS MY LAPTOP AT WORK AND HE CAN SET IT UP IN A MATTER OF MINS. CAN YOU HELP ME OR TELL ME WHAT TO DO?
March 11th, 2008 at 4:29 pm
Any pointers for enabling port-forwarding where no router is employed?
My cable modem connects directly to my main PC, which has a second NIC for the local network.
I am streaming video on a laptop and can view the stream on any other PC using http://192.168.0.15:1066, but obviously someone calling on http://(my IP address):1066 needs to be redirected from this main PC to the laptop.
In Windows Firewall ‘Exceptions’ I created a new port entry ‘Laptop Streaming’ with Port number 1066 for TCP. Change Scope left at ‘Any computer’.
In Windows Firewall Advanced tab I changes settings for my ISP connection to add a new ‘Laptop streaming’ entry with name of 192.168.0.15 and 1066 in both ports for TCP.
Can’t see what I have done wrong but it refuses to connect.
Thanks for any help.
This is the exact same problem i’m having, how do I forward ports that computer B needs opened on computer A (host)?
March 14th, 2008 at 10:41 pm
Hey there..this Q may not concern the topics above but i wanted to ask if cracking the password of a router is possible? Prob is that i am in a shared house and unfortunately with all knowledge and capabilities, i am unable to go through the router. Does a software to crack the router’s password exist or is there any other method to go in or open a port without going in? Thanks for letting me know.
March 26th, 2008 at 1:08 pm
when i type ipconfig at cmd i found my ip is just same as my defult gateway and i can’t find my router
can anyone helpme out
Thanx
May 21st, 2008 at 12:05 pm
hello Lost,
i think your Computer IS the router, because its having the same IP as your gateway, the gateway is the device that gives you access to Internet
June 7th, 2008 at 1:26 am
sir i m living in UAE here too much restriction in isp and thay close too much ports actually here i m using a software x-lite but i cannot use it becz here always it give me 408 timeout error.i disable my firewall,and not bening any proxy in server also i install hotspot shield but its all useless so please if someone know help me i m waiting
June 14th, 2008 at 1:59 pm
hi sir, im conected to my office LAN network internet n i want to some musical softwares via uTorrent and all p2p ports r closed from server so what can do do? please tel me sir can u help me…ThanXXX
July 7th, 2008 at 7:44 am
How about if you don’t know anything about the device that holds your shared ip? …let’s say I’m in a library and I want do download a torrent… is there any way to forward a port?
July 23rd, 2008 at 3:02 pm
i use a dsl connection havin shared ip.
is there any way to forward a port.to do download a torrent
August 18th, 2008 at 2:49 am
shame on you for not updating this article to SP3
shame on you for not also using a firewall appliance
August 27th, 2008 at 4:53 am
I know that my internet provider has ZyXEL router, but i dont see any way to add port there, all it shows me is network information and that its connected and totally working, nothing about ports listed there.
December 3rd, 2008 at 7:39 am
i got a problem in hacking i wanaa know more and more abt hacking plz start wid a good and easy idea
December 29th, 2008 at 12:57 pm
Heyy how can i found my local ip adress ?? Whats that ? help mee pls
January 28th, 2009 at 12:55 pm
i got a problem; i can\’t get to the router, by just inserting the adress in the browser; for instance the adress is 192.168.1.1; i type the adress, and it wont connect to the server; can u help me ?
June 22nd, 2011 at 4:07 am
Just to be annoying, your site has php codes in a html document.
August 1st, 2011 at 5:12 am
Hi,
1. what Windows batch command can I use to test whether the port is actually opened or not?
a) from LAN
b) from WAN (by connecting my computer temporarily to the router WAN port)
Sth like ping, but for a specified port.
Regards.
October 22nd, 2011 at 12:28 am
Since nobody mentioned it…
For Windows, there is a program “pc-port-forwarding” (www.verifed.com/products) which performs forwarding of ports without routers. For incoming and outgoing connections it displays popup messages each time forwarded connection is established. it even performs a reflection of traffic back to the source on a different port!
December 19th, 2012 at 7:28 pm
Hello allen and to everyone, no questions from me yet……just a simple Thanks for the info you post. As I’m very new to this type of computer play, Almost every post is very intriguing to me. I can only hope that I can post useful info one day for you people.Thanks again!!
November 27th, 2013 at 10:58 pm
buy ugg boots melbourne airport
Etegm,Oakleys Cheap
Mwqty,Oakley Sunglass
Zxsxp,ugg pas cher maroc
Rekeb,bottes ugg lynnea
Zfnui,prezzo ugg
Bywgg,Oakley Sun Glasses
Vdlzm,Oakley Gascans
Eqqct,ugg pas cher new york
Lnnyw,Frogskins Oakley
Xpmhe,ugg outlet italia
Upxga
Oakley Backpack
Zvybm,On Sale Oakley Sunglasses
Eespn,ugg outlet online
Jymvq,ugg camel
Umgcx,ugg boots duty free melbourne
Krcrl,cheap uggs outlet us
Aicyf,Australian Ugg
Wrnsy,ugg rose fuchsia
Bcwdj,bottes ugg et neige
Pnpkx,bottes ugg kensington
Sfyyv,australian ugg boots online
Ihkmo
ugg saldi
Vlyoj,Priced Ugg Australia
Gyjim,Grs Ugg
Ecvfh,chaussures femmes bottes ugg
Mrlux,ugg boots online shop
Szdpc,ugg online france
Fqrua,cheap ugg boots free delivery
Ezdmm,Department Stores Sell Ugg
Wiuiq,ugg boots
Qyzfa,cheap ugg boots liverpool
Mxsah,ugg moins cher en australie
Lvzsx
ugg pas cher marseille
Zfmtm,ugg boots clearance
Khffecheap uggs for sale kids
Dgvrw,ugg zwarte laarzen
Evagm,ugg sconto
Gdhgnbottes ugg promo
Lbxacbottes ugg 38
Papsu,Polarized Oakley Sunglasses
OqcfjPa Nordstrom Ugg
Qhpqqugg boots shop adelaide
Vzfda,ugg pas cher belgique
Lxplo
January 6th, 2014 at 10:38 am
Hello. I’m Mona from Iran.
If possible, could you tell me how to open port 8123 on Windows Seven.
—————-
Please use simple words.
I do not speak much English.
and Please send your answer to my email
very tnx & godluck
best Regards – mona
March 28th, 2014 at 2:20 pm
If your kitty can see a stranger in “his” yard, close
the curtains so he can’t see out. Folks consistently
fawning around you, delivering foodstuff,
shelter and a loving atmosphere will get truly boring. As their claws grow out they’ll be tempted to scratch everything around them.