Author Topic: Multiplayer via TCP/IP behind a router...  (Read 9280 times)

Offline silverion

  • Newbie
  • *
  • Posts: 12
Multiplayer via TCP/IP behind a router...
« on: February 01, 2004, 11:49:13 PM »
K then problem people are having with routers is that the router changes the IP that outpost 2 recognizes itself with, and it tries to find/create games on the network instead of on the internet.

This can be gone around, however. I submitted an idea for a patch a while ago that modified the recognized TCP/IP address of Outpost 2. If you change that IP address to your real IP address, TCP/IP WILL WORK! ... I think anyway.

Dunno, someone told me some people were already workin on this... not quite sure what the deal is... :P

Offline Leviathan

  • Hero Member
  • *****
  • Posts: 4055
Multiplayer via TCP/IP behind a router...
« Reply #1 on: February 02, 2004, 08:38:55 AM »
if ur router can enable DMZ it enables people to play behind their router. some people on IRC do this.

Offline plymoth45

  • Hero Member
  • *****
  • Posts: 1062
Multiplayer via TCP/IP behind a router...
« Reply #2 on: February 02, 2004, 09:22:21 AM »
i have the DMZ ip setting set to my local ip, 10.0.0.9, and it works really well, i just can't host

Offline RipperKhan

  • Full Member
  • ***
  • Posts: 177
    • http://newvitech.com
Multiplayer via TCP/IP behind a router...
« Reply #3 on: February 02, 2004, 10:45:25 PM »
hmm should, i didnt have that problem but i had port opened up to though
« Last Edit: February 02, 2004, 10:47:00 PM by RipperKhan »

Offline silverion

  • Newbie
  • *
  • Posts: 12
Multiplayer via TCP/IP behind a router...
« Reply #4 on: February 03, 2004, 06:23:26 PM »
Does it matter what I set my DMZ to?

xfir

  • Guest
Multiplayer via TCP/IP behind a router...
« Reply #5 on: February 03, 2004, 06:27:18 PM »
Should be the computer you are going to use to play Outpost 2.

Offline plymoth45

  • Hero Member
  • *****
  • Posts: 1062
Multiplayer via TCP/IP behind a router...
« Reply #6 on: February 03, 2004, 07:02:34 PM »
the DMZ on ur modem/router should be set for whtever you set your comp's ip to, like wht i have done it set my local ip to 10.0.0.9, and my modem's DMZ is set to 10.0.0.9, while the modem gateway is 10.0.0.2

Offline LastofEden

  • Newbie
  • *
  • Posts: 8
Multiplayer via TCP/IP behind a router...
« Reply #7 on: February 04, 2004, 06:25:34 PM »
I have another problem related to my IP address. I found out that my internal address is different from my external one. How can I fix that?

Offline gpgarrettboast

  • Administrator
  • Hero Member
  • *****
  • Posts: 553
Multiplayer via TCP/IP behind a router...
« Reply #8 on: February 04, 2004, 08:44:19 PM »
Maybe disable your internal network protocal.  if that's the one you use for the router, you'll have to set it up to use it as a Gateway somehow...

Offline plymoth45

  • Hero Member
  • *****
  • Posts: 1062
Multiplayer via TCP/IP behind a router...
« Reply #9 on: February 05, 2004, 09:33:10 AM »
thats wht my prob was, but if you do wht i said in the last post, ur ips are still different, but it enables you to play through the router.

Offline selfdestruct

  • Jr. Member
  • **
  • Posts: 85
Multiplayer via TCP/IP behind a router...
« Reply #10 on: February 10, 2004, 11:50:49 PM »
But when u use dmz you are still not able to host games which is very anyoing and if the members who are on all are using dmz how are you going to play. I fell this problem should be addressed and delt with and alos in the future of op2 Or 3 multiplayer games.
 
OUTPOST OBSESSION IS CONTAGIOUS

Offline BlackBox

  • Administrator
  • Hero Member
  • *****
  • Posts: 3093
Multiplayer via TCP/IP behind a router...
« Reply #11 on: February 11, 2004, 02:55:08 PM »
Ok. Changing the IP address will not work.

UDP is a non routable protocol.

The only way around it is using systems that send packets in streams (ie. VPN, the replacement DLL I'm working on), or systems that forward the packets to one and only one computer (DMZ, etc)

Edit: To learn about the replacement DLL which WILL solve the problem, look in the programming forum.
« Last Edit: February 11, 2004, 02:56:22 PM by op2hacker »

Offline Kiith Somtaaw

  • Hero Member
  • *****
  • Posts: 615
Multiplayer via TCP/IP behind a router...
« Reply #12 on: February 13, 2004, 06:36:49 AM »
Whats a DMZ?






 

xfir

  • Guest
Multiplayer via TCP/IP behind a router...
« Reply #13 on: February 13, 2004, 07:43:35 AM »
DMZ is a type of method, so to speak, that tells your router that any packets that are not already forwarded should be sent to a specific IP.

Make sure your local computer IP hasn't changed. If it did, you may have to update your DMZ setting.

Offline plymoth45

  • Hero Member
  • *****
  • Posts: 1062
Multiplayer via TCP/IP behind a router...
« Reply #14 on: February 13, 2004, 09:17:12 AM »
or, set ur default gateway and prefered DNS server to the router's ip, but just don't let ur ISP change any settings on u, or u will end up like me, my ISP has responded, and when i get home today, i'm going to try to play op2, athey said try my games again, i can play mohaa online now, and i'm hoping i can op2 now too.

Offline BlackBox

  • Administrator
  • Hero Member
  • *****
  • Posts: 3093
Multiplayer via TCP/IP behind a router...
« Reply #15 on: February 13, 2004, 02:22:46 PM »
Quote
Whats a DMZ?
This is for all people that are wondering.

Quote
Short for demilitarized zone, a computer or small subnetwork that sits between a trusted internal network, such as a corporate private LAN, and an untrusted external network, such as the public Internet.
Typically, the DMZ contains devices accessible to Internet traffic, such as Web (HTTP ) servers, FTP servers, SMTP (e-mail) servers and DNS servers.

So basically that "zone" is your computer.

Offline Kiith Somtaaw

  • Hero Member
  • *****
  • Posts: 615
Multiplayer via TCP/IP behind a router...
« Reply #16 on: February 15, 2004, 02:09:47 PM »
Quote
Quote
Whats a DMZ?
This is for all people that are wondering.

Quote
Short for demilitarized zone, a computer or small subnetwork that sits between a trusted internal network, such as a corporate private LAN, and an untrusted external network, such as the public Internet.
Typically, the DMZ contains devices accessible to Internet traffic, such as Web (HTTP ) servers, FTP servers, SMTP (e-mail) servers and DNS servers.

So basically that "zone" is your computer.
Yeah I've see the site and read the same thing,
but it still doesn't Explain what I need to do to access the DMZ!

Offline plymoth45

  • Hero Member
  • *****
  • Posts: 1062
Multiplayer via TCP/IP behind a router...
« Reply #17 on: February 15, 2004, 02:14:29 PM »
how you do it at my place, put the ip of the router into the web brouser

Offline xamlit

  • Full Member
  • ***
  • Posts: 160
Multiplayer via TCP/IP behind a router...
« Reply #18 on: February 15, 2004, 04:58:54 PM »
Whats the big deal? All you have to do is map some certain ports to your computer from the router/server. Levi provided me with those ports and now I can join TCP/IP games over my network flawlessly.

It's serious, but its not that serious.


Map these ports to your computer :

   15102
   15101
   47777
   47800
   47776


I think two of them are for the op2 client, not sure though.

They are all udp.
« Last Edit: February 15, 2004, 05:35:17 PM by xamlit »

Offline plymoth45

  • Hero Member
  • *****
  • Posts: 1062
Multiplayer via TCP/IP behind a router...
« Reply #19 on: February 15, 2004, 05:34:48 PM »
doesn't work that way for some of us

Offline xamlit

  • Full Member
  • ***
  • Posts: 160
Multiplayer via TCP/IP behind a router...
« Reply #20 on: February 15, 2004, 05:37:23 PM »
Have you tried before? Because I have not seen those ports posted here.
« Last Edit: February 15, 2004, 05:37:53 PM by xamlit »

Offline BlackBox

  • Administrator
  • Hero Member
  • *****
  • Posts: 3093
Multiplayer via TCP/IP behind a router...
« Reply #21 on: February 15, 2004, 07:24:23 PM »
15101-15102 aren't needed, those are the client UDP ports.

There are more ports that OP2 uses, the OP2 manual says what they are (somewhere it gives info about firewalls and to allow UDP on ports, the port numbers are in hex (you have to convert them to decimal))

I know it uses all of the ports, I watched OP2 with a packet sniffer once.

Offline xamlit

  • Full Member
  • ***
  • Posts: 160
Multiplayer via TCP/IP behind a router...
« Reply #22 on: February 15, 2004, 10:39:32 PM »
Same here, but the ports I provided I believe are specifically for joining games behind a firewall. Hey, it works for me. Whats the difference between my setup and anyone elses.  

Offline Kiith Somtaaw

  • Hero Member
  • *****
  • Posts: 615
Multiplayer via TCP/IP behind a router...
« Reply #23 on: February 16, 2004, 10:58:52 AM »
How do you map them?








 

Offline BlackBox

  • Administrator
  • Hero Member
  • *****
  • Posts: 3093
Multiplayer via TCP/IP behind a router...
« Reply #24 on: February 16, 2004, 01:29:09 PM »
however you access the config for your particular router.

I think for some routers, you type in the IP address of the router into the web browser and set settings from there.

Also, you can set the DMZ there.