Debriefing > Questions, Help, & How To's

Create Server, how to find?

<< < (3/3)

Ego_Bizarro:
Heya, thanks for your patience :>

I understand what you say, I just don't understand why my friend was able to find and join my game (which was also listed under 'internet', not just 'LAN') even though I used that local IP address in the port forwarding.
Or maybe the port forwarding wasn't really necessary and it was something else I did that made it work (I dunno, like making an exception for srcds.exe in the windows firewall...)?

Also, if I have to use my public IP address in the port forwarding: wouldn't I have to change that every day because I get a new IP address each day?

Oh well, but it works now - whysoever - so let's just keep it at that. I don't wanna waste any more of your time with this :)
Thanks, mate!

soupcan:
The local IP is what you use for port forwarding -- this says to your router "for incoming traffic on the specified ports, send it to the computer at 192.168.0.3".

For hosting a GE:S server, you don't actually need the public IP to be used in any settings. The public IP is what others will use to connect to your server. They make a connection using your public IP, which goes to your router. Your router then looks at your forwarded ports and sees that connections to port 27015 go to 192.168.0.3, and so it then sends that traffic to your computer.

Your local IP will likely change from time to time -- if it does, your port forwarding rules need to be updated to reflect that. You can see this guide for how to set a static IP for your computer. The steps are the same for Windows 8 & 10 as well -- the only difference being how you can get there. In 7 and later, you can always just right-click the network icon in the taskbar and choose "Open Network and Sharing Center", which will take you to Step 7.

Your public IP will likely also change from time to time, but you don't need to set this anywhere for hosting to work -- it only changes what IP your friends use to connect to your server. In a game like GE:S, this is no huge deal since there's only ~20 servers that populate the list, so it'll be easy to find your server. In a game like TF2 however, with its thousands of servers, you'd want to just give your friends your IP so they can connect directly. You usually can't do anything to keep the same public IP, short of paying your Internet service provider for a static IP.

Ego_Bizarro:
Aaaah, ok, it all makes sense now.
So I'll leave things the way they are now and only change the local IP in the port forwarding rule (when the local IP changes) OR change to a static local IP.

Thanks a lot, mate! :)

Kratos:
What is the model number of your router/cable modem?

Visit this website

http://portforward.com/english/routers/port_forwarding/

Choose the Name and model of your router and it will walk you steps on how to port forward the router.

Local IP: <your servers ip>   
Local Startport:  ignore this
Local Endport:   ignore this
Extern Startport:   27015
Extern Endport:   27015
Protocol: UDP + TCP as soupcan mentioned

I dont think you need to configure the local start and end ports. External sounds like its for people connecting to your server from outside of your network.  Also check your firewall in the router and disable it if your hosting a server. Also check the firewall on the pc running the server and make an exception or whitelist your computers ip and port 27015.

Cheers


EDIT: It appears im drunk and havent read all posts above and you followed the website and input the ports and ip.

Lets us know if you need further help.

Ego_Bizarro:
Yep, I already got it; I appreciate it anyway! :)

Navigation

[0] Message Index

[*] Previous page

Go to full version