Vice City Multiplayer

General Discussion => Support => Topic started by: Power-Inside on March 26, 2010, 06:44:02 pm

Title: How to make server private
Post by: Power-Inside on March 26, 2010, 06:44:02 pm
Each time I open the VC:MP server and play on it, several other players join my server...  How do they know my server?  So it means my server get announced to master server? How do I disable this (in config.cfg? wat to put )...

I dont want to put password on my server but just want to make sure it does not announce to master server list.

But I have one more doubt.. My router has NAT features and I DID NOT port forward the ports.. then how was the outside players able to join in my server when I did not port forward at all???  ???
Title: Re: How to make server private
Post by: Boss on March 26, 2010, 07:08:56 pm
Try putting announce 0 line in your server.cfg. If that doesn't work - simply remove announce.exe file from your server dir. It will prevent your server from being listed in "Internet" tab.

It is also impossible for internet players to connect to a machine with no external IP and without port forwarding. If you do not forward ports, that means that the machine running server has an external IP, making it avaliable to internet.
Title: Re: How to make server private
Post by: Power-Inside on March 26, 2010, 07:17:17 pm
Yes , my machine does have external IP and is dynamic... but Im still puzzled why they are able to connect when I dont forward ports...  Normally, services that require others to connect to my machine is blocked by my router unless that specific port is forwarded... i think.
Title: Re: How to make server private
Post by: Boss on March 26, 2010, 07:28:46 pm
How exactly is your local network organized?

Internet - Router - Server_Machine
                 |
           Random_PCs?

If it is organized like the one above, that means that your router has an external IP, not the machine you run VC:MP server on. That would mean you have the port forwarded.

If it's not and your VC:MP machine is directly (well, through ISP) connected to internet, then your ports don't have to be forwarded.
Title: Re: How to make server private
Post by: Power-Inside on March 26, 2010, 07:39:46 pm
I am not sure.. My machine which runs VC:MP server is connected to an ADSL modem/router which is then connected to the Internet..

If VC:MP PC is "directly" connected to internet , it needs a modem/router to connect to internet, right? Whats the difference? Both are same?!

Sorry for my confusion.. but I feel I really need to get this straight..
Title: Re: How to make server private
Post by: ramandu on March 26, 2010, 08:07:13 pm
the more secure, the better, turn your old pc's into complete hardware gateways between you and the internet.

Internet - Router - Gateway - Managed Switch - Server_Machine
                                                |
                                            Switch  Switch Switch             
                                                |       |        |
                                              PCs    PCs    PCs
Title: Re: How to make server private
Post by: Boss on March 26, 2010, 08:18:13 pm
If VC:MP PC is "directly" connected to internet , it needs a modem/router to connect to internet, right? Whats the difference? Both are same?!
Modem (http://en.wikipedia.org/wiki/Modem) and router (http://en.wikipedia.org/wiki/Router) are two different things. Modem (modulator-demodulator) is used to encode transmited and decode received data. Router, on the other hand, is technically a computer. It can act as a switch (http://en.wikipedia.org/wiki/Network_switch), firewall (http://en.wikipedia.org/wiki/Firewall_(computing)) or even act as a server machine with an external IP (like on the scheme I've shown).

So, it depends on how does your "modem/router" act. If it's just a modem, then it passes data directly to one of your PC's adapters (http://en.wikipedia.org/wiki/Network_adapter) with an external IP and you don't need any forwarding.

If your ADSL modem is also a router, then it is likely that it has an external IP which your computer uses through a local IP. In this case your computer can only be accessed from the internet if ports are forwarded on your router.

If you didn't forward anything and people are able to connect, then you don't have a router at all, just a modem.
Title: Re: How to make server private
Post by: Power-Inside on March 27, 2010, 05:01:29 am
I suspect my ADSL modem to be a router because it has NAT forwarding setttings and built in security features..

Also, when I once made a web server (port 80) , people could not view it through my external IP until I port forwarded 80 from my internal IP of my server machine.

So its not just an adsl modem... right?

Btw , I think internet users was able to get in my server because I have enabled the NAT-DMZ feature in my router? Is it? See the screenshot below

(http://i43.tinypic.com/245c0eu.gif)
Title: Re: How to make server private
Post by: Boss on March 27, 2010, 09:49:34 am
Since your computer has only a local IP, ports must be forwarded it order to reach it from internet. Though, afaik, enabling DMZ results in all ports being forwarded.
Title: Re: How to make server private
Post by: Power-Inside on March 27, 2010, 04:14:25 pm
Yup I recently just enabled DMZ...  So now it all makes sense!
Title: Re: How to make server private
Post by: thijn on March 27, 2010, 04:24:49 pm
btw if you still want to have a "private" server, you can also set a password ;)
Title: Re: How to make server private
Post by: Boss on March 27, 2010, 04:30:13 pm
I dont want to put password on my server

Plus, passwords do not work with pawn servers afaik.
Title: Re: How to make server private
Post by: Power-Inside on March 27, 2010, 07:22:10 pm
pawn servers? you mean VC:MP servers that load pawno scripts or equivalent?
Title: Re: How to make server private
Post by: Boss on March 27, 2010, 07:32:51 pm
The servers which use pawn scripts and .cfg file rather than mrc scripts and .ini file.
Title: Re: How to make server private
Post by: Power-Inside on March 28, 2010, 07:04:24 am
Ok so the same VC:MP server executable can be made to use .cfg and pawn scripts and .ini files and mrc scripts?

So I have my server using .cfg config file... that means if I need to use password , it wont work on it? :(
Title: Re: How to make server private
Post by: Boss on March 28, 2010, 09:58:50 am
Ok so the same VC:MP server executable can be made to use .cfg and pawn scripts and .ini files and mrc scripts?
Where did that come from? I have just said that they are two different servers.

So I have my server using .cfg config file... that means if I need to use password , it wont work on it? :(
Pawn server won't let you join if it's passworded as a result of a bug.
Title: Re: How to make server private
Post by: thijn on March 28, 2010, 11:55:03 am
So I have my server using .cfg config file... that means if I need to use password , it wont work on it? :(
Pawn server won't let you join if it's passworded as a result of a bug.
I though a pawn flt was released for that, or was it just for extra functions?
Title: Re: How to make server private
Post by: Boss on March 28, 2010, 12:02:50 pm
I though a pawn flt was released for that, or was it just for extra functions?
"Pawn flt"? All servers use the same client.
Title: Re: How to make server private
Post by: thijn on March 28, 2010, 12:26:56 pm
Yea, just noticed it was just pacht 2 with some pawn fixes.
Title: Re: How to make server private
Post by: Force on March 28, 2010, 12:42:39 pm
I though a pawn flt was released for that, or was it just for extra functions?
"Pawn flt"? All servers use the same client.

I've seen that a lot of people are under the impression that pawn is the client, this is not the case. Pawn is in no way related to the client, it is all to do with the server.

To make your server private you'll either have to use the working mIRC server, bad idea if you ask me, or just make sure that your firewall blocks the VCMPServer so that it won't announce to the master list. Some routers allow for NAT which automatically opens up servers to the outside world without the need for opening ports. However I don't think VC:MP Server uses that feature so just make sure your ports aren't open.

Your computer will have an Internal and External IP even when ports aren't forwarded, this is why people are joining. Just close off your ports and everything will be fine.
Title: Re: How to make server private
Post by: Greg on March 30, 2010, 04:54:24 am
Pawn server won't let you join if it's passworded as a result of a bug.
Actually it will, you just need to join from command promt, or better use a shortcut for this.  ;) ;D

Ok so the same VC:MP server executable can be made to use .cfg and pawn scripts and .ini files and mrc scripts?
Basically the answer is yes. You can use the latest pawn server even with MRC scripts.

Regards,
Greg
Title: Re: How to make server private
Post by: Power-Inside on March 30, 2010, 06:03:33 am
Pawn server won't let you join if it's passworded as a result of a bug.
Actually it will, you just need to join from command promt, or better use a shortcut for this.  ;) ;D

If so , may be the alternative browser may work?