• Welcome to Valhalla Legends Archive.
 

Attempting to Setup Servers Behind Router (no luck)

Started by rabbit, September 18, 2005, 05:41 PM

Previous topic - Next topic

rabbit

Right.  Okay.  So, here's my problem(s):
1. I can't Direct Connect on AIM/gaim/Trillian/YIM/MSN, etc...
2. I can't access Apache from outside my network
3. I probably can't access TestBNCS (if I ever get it working) from outside my network
4. I can't access my own server (my own) from outside my network
5. I can't access any of the above from typing in my network WAN IP (which is currently 70.106.88.134)
6. Persistent port forwarding is set for Apache, TestBNCS, and my server, and application triggered port forwarding is set for Gaim, Starcraft, and Warcraft II, and Virtual DMZ is set on the host box LAN IP (192.168.2.9)
7. WTF?!  I hate Microsoft even more now
8. I can't host games in Starcraft, Warcraft II, but I can in Diablo II/LoD
9. Testing results in showing that I get the same problems regardless of having all firewalls and whatnot off (including the router fire wall).

I'm using a Microsoft Wireless MN-500 Router/Base Station.  Google and Microsoft searches have turned up no help, and the Apache site had nothing.  All of them, however, resulted in me finding out I need to setup port forwarding (which I did).  Anyone got any other ideas?
Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

Mangix

dunno if this will be much help but a friend of mine had the same issue. i dont think he tried port forwarding but what he did was change his IP(the 192 thing) and then it worked.

the only explination i have for that is that router firewalls only block specific IPs.

l2k-Shadow

Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

Yegg

You should learn about port forwarding before you go as far as to "hating microsoft".

Go to your routers configuration through your browser. It is usually something like:
192.168.1.1

I don't know what kind of a router you have so I can't direct you to exactly the proper place to go to, but look for a Port Range Forward type section in the configuration. YOu should be able to set ports for "applications", and specify the router IP in which they use. For instance, 192.168.0.100. Save your router's settings and applications that use the ports that you specified should start to operate respectively. portforward.com has more in detail on the concepts of this procedure.

Kp

It looks like most of your problems are being caused by an inferior NAT device. :)  I use a Linux box for routing/NAT and have yet to encounter any situation it couldn't route right.

Quote from: rabbit on September 18, 2005, 05:41 PM1. I can't Direct Connect on AIM/gaim/Trillian/YIM/MSN, etc...
2. I can't access Apache from outside my network
3. I probably can't access TestBNCS (if I ever get it working) from outside my network
4. I can't access my own server (my own) from outside my network
5. I can't access any of the above from typing in my network WAN IP (which is currently 70.106.88.134)

These are all manifestations of the same problem.  Your connections aren't being forwarded to the appropriate host(s).  The good news is that if you find how to fix one of them, all the others will be copy&paste fixes.

Quote from: rabbit on September 18, 2005, 05:41 PM6. Persistent port forwarding is set for Apache, TestBNCS, and my server, and application triggered port forwarding is set for Gaim, Starcraft, and Warcraft II, and Virtual DMZ is set on the host box LAN IP (192.168.2.9)

All I can say here is check that the ports are being forwarded to the correct internal IP.  If in doubt, post exactly how the rule(s) appear in the router.

Quote from: rabbit on September 18, 2005, 05:41 PM8. I can't host games in Starcraft, Warcraft II, but I can in Diablo II/LoD

This may be a red herring.  If you're creating realm games for Diablo II, then you're not really hosting them at all -- battle.net is.  If you mean you're able to host an "open" class game, then your port forwarding rule(s) for Diablo II are actually working.  It should be possible to replicate them to resolve the other problems
.
Quote from: rabbit on September 18, 2005, 05:41 PM9. Testing results in showing that I get the same problems regardless of having all firewalls and whatnot off (including the router fire wall).

This is to be expected.  The problem is not that the packets are being filtered by the router, but that they're being lost because it doesn't route them where you want them to go.  That said, if there are any Microsoft products in this network, I'd highly advise not turning the firewalls off. :)
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

rabbit

T.T
I have no settings for Diablo II, and yes, I've hosted Open and Realm games just fine.

@Kp:
Quote from: rabbit on September 18, 2005, 05:41 PM
I'm using a Microsoft Wireless MN-500 Router/Base Station.

I'm hating Microsoft for more than just their routers, at this point.
Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

Kp

Quote from: rabbit on September 18, 2005, 08:01 PMI have no settings for Diablo II, and yes, I've hosted Open and Realm games just fine.

Interesting.  However, without seeing the configuration of your router, there's really not much more any of us can do.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

rabbit

Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

Eric

#8

  • Why did you set the router's DMZ to your router's IP address?  Unless the computers are behind a locked down firewall, or an additional router, don't enable the DMZ... ever.
  • UPnP-enabled programs automatically forwards ports, providing ofcourse, that your router has support for it, so you don't need to manually forward ports for them.
  • Set the ending ports in your port forwarding setup.
  • Disable DHCP and/or manually set the IP's of the computers that will be using static port forwarding.

Do you have any other devices that could be contributing to this problem?  Keep in mind, most broadband modems function as routers as well.

rabbit

#9
Quote from: Lord[nK] on September 19, 2005, 05:42 PM
Why did you set the router's DMZ to your router's IP address?  Unless the computers are behind a locked down firewall, or an additional router, don't enable the DMZ... ever.
Because it was suggested earlier

Quote from: Lord[nK] on September 19, 2005, 05:42 PM
Set the ending ports in your port forwarding setup.
Done and done.

Quote from: Lord[nK] on September 19, 2005, 05:42 PMDisable DHCP and/or manually set the IP's of the computers that will be using static port forwarding.
Not sure how anyway!

Quote from: Lord[nK] on September 19, 2005, 05:42 PM
Do you have any other devices that could be contributing to this problem?
Nope!

Thanks, trying changes out.

[update]
I still hate Microsoft :\
Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

nslay

Quote from: rabbit on September 19, 2005, 05:01 PM
If you need to see anything else, just let me know.

http://www.liquid-server.org/images/router/

What the hell!?  Your router's WAN IP is apart of the private IP block too...so it seems your router is connected to another NAT router.



Assume Internet<->Router1<->Router2<->Your computer
You have 2 options
1) Enable DMZ on Router1 and point it to Router2, on Router2 make sure your ports are being forwarded
2) Have Router1 forward the same ports, except instead of your computer forward it to Router2

Either of the above will fix the problem.

iago

Incidentally, I don't know if this is the problem or not, some ISP's (like Warrior's) don't allow any incoming connections on any ports.  But I'm more suspicious of how your router is set up than your ISP at this point :P

This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


rabbit

I only have 1 router T.T
Notice the detailed diagram and ph33r my network:


I have Verizon DSL, and AFAIK they don't care about running servers.
Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

iago

As a temporary test, try this:

- (If you're on Windows) *** Update Windows completely!
- Set your server's ip as the DMZ Host (say your server is 192.168.1.17.. set the DMZ host to that). 
- Try connecting to it from remote (using your external ip, obviously)
- Turn off DMZ Host
*** OR ***
- Plug your server directly into the Internet
- Try connecting to it from remote (using your external ip)

If that works, then your problem is that you need to forward ports properly.  If it doesn't, then you have another problem. 

And, as noted by somebody else in this thread, your external ip shouldn't start with 192.168.  That's an unroutable ip on the Internet, it's only an internal ip.  You can find information for this on RFCs 1918 and 3330, if anybody is interested in unroutable ip's. 
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


MyndFyre

I have Qwest as my ISP, and unless you get their business package (nazis that they are), you can't get port 80, 25, 21, or other similar service ports in from external addresses.  :(
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.