PDA

View Full Version : Help needed setting up FTP/CS server


stompah
09-02-02, 04:16 PM
I am helping a friend here who wants to setup one comp on his LAN as a file server (with access to the internet) and CS server.

His home network consists of a Linksys BEFSR41, then to a 5 port hub. Using DHCP to assign IPs to the computers on the LAN.

What we need to know is how to setup the FTP and CS server on one comp. How to allow the FTP server to be accessed from the WAN (port forwarding?) and how to have the CS server accessed from the WAN (again port forwarding) and have LAN access too for him.

Yakbak
09-02-02, 04:19 PM
If that CS and FTP server are the only computers on the network that need ports always opened to ease the use of servers, you could set up that IP as a DMZ host; it's found in the router's configuration page.

Carmine_Paterno
09-02-02, 05:23 PM
Im stompahs friend.

I tried the DMZ host and my friend still couldnt access my server.

I think its becasue the ip address is 192.168.1.104 and thats a local ip address and when people try to access the computer its looking at there local address not over the internet.

Yakbak
09-02-02, 05:30 PM
For the CS server, you should add the following to your shortcut line (without quotes):
-ip 1.1.1.1

So that your shortcut line looks like, for example:

C:\SIERRA\Half-Life\hl.exe -console -game cstrike -noipx -nojoy -numericping +port 27015 +clientport 27005 +multicastport 27025 -ip 1.1.1.1

Carmine_Paterno
09-02-02, 05:35 PM
what does that do? I dont think CS is the problem here....Will that command i just added let people see it and join in?

Yakbak
09-02-02, 05:36 PM
When It ried to set up a CS server on a comp inside my NAT network, CS thought my IP was the internal one, 192.168.0.2. If you tell CS to bind to your exteral IP, it may allow others to see your server.

Try typing in "ip" in the console, see what it gives you.

Carmine_Paterno
09-02-02, 05:38 PM
I just typed in -ip 1.1.1.1

will that allow people to join in?

Now im sure other people on the internet have done the same.

Does this mean that when people type in 192.168.1.104 they might not only find my server but others with the same ip?

Yakbak
09-02-02, 05:40 PM
Change 1.1.1.1 to your real external IP, then you should add the -ip switch to your shortcut.

If you want, you can post your IP here and I can try to connect.

Carmine_Paterno
09-02-02, 05:43 PM
external ip meaning the actual ip that the cable modem gets from the router?

and when i type in -ip switch

is there other things i add to that command or thats it?

Thanx sooo much for your help

AZN
09-02-02, 05:49 PM
just foward whatever port that CS uses for the net to the lan IP. DMZ is not needed. If the firewall does block that port then go ahead and enable dmz.
the main problem i c here with routers is people dont understand the NAT. Whatever program it is your trying to use, just forward those ports to whatever LAN IP u want.

AZN

Carmine_Paterno
09-02-02, 10:29 PM
I CANNOT thank AZN enough. I instant messaged him and he helped me the whole way for about 2 hours.

Not only did he help me....but he made sure i understood it and learned it.

Thanx again AZN. Yakbak you also helped me out for CS.

Thanx to everyone!