PDA

View Full Version : Server on a lan, allowing external users to connect


Fluxism
12-04-2003, 04:23
Hi all,

I've installed and started my server no problems. But I can't get anyone to connect to it. This is my simple set up:

Mandrake 9.1 running the server, this comp has the ADSL usb modem connected to it. Win2k comp connected to the nix via a 4 port hub.

ATM only the windows comp is running a firewall, so its not this stopping connections. The IP needs binding to something or other or christ-knows-what...

Would anyone give me simple instructions / pointers / tutorials on how to resolve this?

Thanks,



Flux.

Renegat3
13-04-2003, 14:29
Hi!

ADSL? Do you have dynamic or static IP? (Does your internet-ip change with every connection -> dynamic, or is it always the same -> static)

regs
R3

Fluxism
13-04-2003, 16:37
HI Renegat3,

It's a dynamic IP.


Flux.

Renegat3
13-04-2003, 18:57
Oh, I forgot to ask you, if your dynamic IP is "pingable"?
So, ask someone to try to ping your internet-ip. If this doesn't work, I can tell you how to solve the prob!

Regs
R3

Fluxism
13-04-2003, 20:19
Hi again,

The IP isn't pingable from IRC, it times out....
Thanks for any help you can offer Renegat3.


Flux.

Renegat3
13-04-2003, 20:51
Well, then your provider doesn't resolve your ip, as I expected! Which means, only your provider knows your ip, but he don't tell it to the rest of the world! But DynDNS services do! There are a lot, but I recommend www.dyndns.org.
First, you have to create an (free!) account, where you can chooce a url, which your ip will be resolved to.
Then you download an ip-update tool. There's a download list on that side!

How it works:

When you dial-up, the update-tool sends your actual ip to dyndns.org and they resolve it to the url you have choosen. That means that you are always reachable through that url!

Actually, it is quite simple!

regs
R3

Fluxism
14-04-2003, 01:49
Renegat3


Tried as you suggested, and I'm still in the same boat. No 1 can connect to the TS2 server...

If I were to take the network out of things, and only have one computer connected to the net, then ppl can connect to the TS2 server, with the network they can't, it's the same sort of problem that people get while trying to DCC files over IRC when there is a network involved...

Any more suggestions?



Flux.

Renegat3
14-04-2003, 12:29
Originally posted by Fluxism
If I were to take the network out of things, and only have one computer connected to the net, then ppl can connect to the TS2 server, with the network they can't
What exactly have you done? Which one is the "only Computer"? I guess Mandrake, cause it's connected to the internet?

Anyways, the "with-network-problem" sounds like not forwarded ports! But as long as the tss runs on the computer which is directly connected to the internet, port forwarding is meaningless (and actually senseless!)
Another point could be a firewall (ipchain rules) running on Mandrake? I know you said it does not, but I know this from SuSE. Even if you have installed with out a firewall there are always some ipchains activated, though! Check it!

So long,
R3

guldi
14-04-2003, 12:38
Didn't understand how you connect the win2k PC to the WAN ? Do you have 2 NIC's in the Mandrak PC ? Is it hte Gateway for your network ?

if yes =>
Sounds like your Mandrak PC is doing IP Masq for your LAN ?
IP_Forward is active on it ?
Do a port Forward for the TS server port (default 8767) to the IP, the TS server is bound to.

Fluxism
14-04-2003, 15:56
Renegat3,

The Mandrake comp id the one directly connected to the net, and I'll check out the ipchains.

guldi,

The usb moden is connected to the mandrake comp, it has 1 ethernet card in, which connects to a 4 port hub, the win2k comp has 1 ether card in, and connects to the hub.



Flux.

Renegat3
14-04-2003, 16:27
In according to your other posts I summarize:

A Mandrake-PC is connected to the internet and tss runs on it. A W2K PC is connected to the Mandrake-PC which function as a router to give internet access to the W2K-PC.
People are not able to connect to your tss on the Mandrake-PC. But if you disconnect the W2K-PC from the Mandrake-PC, people ARE ABLE to connect to tss on the Mandrake-PC!

So, in that case I guess you forward the udp port to the W2K-PC which don't answers, because there is no tss running! If you disconnect the W2K-PC forwarding is not possible, and so the port is used on the Mandrake-PC (that part is just a guess!).
To me, that would be the only possible reason.
Check your routing rules and forget about ipchains - they don't count here!

regs
R3