Click to See Complete Forum and Search --> : port forwarding a game?
crgordon
06-10-2001, 05:56 PM
Ok, I have ipmasqadm set up. So I want to be able to take internet requests forward them to my win box from my linux server. What port should I forward to? I tried port 80. cant connect. What port does windows use for general tcp/ip? please help!
ipmasqadm portfw -a -P tcp -L xx.xxx.xx.x 80 -R xxx.xxx.xxx.x ?
Craig McPherson
06-10-2001, 06:13 PM
Huh? What do you mean, what port does Windows use for General TCP/IP?
What are you trying to do, exactly? If you want EVERY incoming TCP/IP connection to be forwarded to your Windows box, you'll have to forward EVERY port. If you want incoming requests on port 80 to be fowarded, you have to forward port 80. If you want incoming requests on port 22 to be forwarded, you have to forward port 22. Do you see?
crgordon
06-10-2001, 07:43 PM
What I am tring to do, is to allow people outside my firewall to play a game with my pc inside the firewall. Thats it. However I do not know which port my games run on. I tried using port 80, but that one didnt work. Is there a way to make it something like this? ..... xx.xxx.xxx.x:5000 (from out side the firewall) ---> (into server) ---> xxx.xxx.xxx.xxx (into my windows pc without specifying a port for the windows box)
I think the problem is that the game uses a random port!?!? dunno for sure tho. /*Total Annihilation*/ Is that any clearer? I hope so.
crgordon
06-10-2001, 07:44 PM
What I am tring to do, is to allow people outside my firewall to play a game with my pc inside the firewall. Thats it. However I do not know which port my games run on. I tried using port 80, but that one didnt work. Is there a way to make it something like this? ..... xx.xxx.xxx.x:5000 (from out side the firewall) ---> (into server) ---> xxx.xxx.xxx.xxx (into my windows pc without specifying a port for the windows box)
I think the problem is that the game uses a random port!?!? dunno for sure tho. /*Total Annihilation*/ Is that any clearer? I hope so.
Craig McPherson
06-10-2001, 09:32 PM
You'll have to check the documentation for the game, or visit the publisher's web site. Most games have published documentation somewhere that tells what ports the game uses. Very often you'll find this information in the back of the manual, and if not, look for a FAQ on the game publisher's website.
If all else fails, you can have the Windows machine start a game server, then portscan it from your Linux machine. You'll be able to see the open ports that way.