External ip

I was trying to get a friend of mine to join my Half-Life 2 deathmatch server and he told me that he couldn’t join because I needed to be using an external ip. I can get my external ip number, but I don’t know what it does or what to do with it. Anyone know how I can set my ip to an external ip and make it so people can join my dm server?

You need to set up port forwarding.

Your external IP is a single Internet address which is shared by all the computers in your house. When someone on the Internet tries to connect to you, the request goes to your router first. You need to tell the router which machine it should send the incoming request to. In this case, you should configure the router to send incoming HL2 DM connection requests to your PC.

Configuring a router is a different process for each kind of router, so you’ll need to look up how to do it on yours.

More info on port forwarding here: https://portforward.com/help/pfprogression.htm

Big list of ports here: https://portforward.com/cports.htm (looks like you need UDP ports 27015 and 27020)

Once you have done what’s in the above post you can quite easily get the IP from whatismyip.com, or alternatively use the Internet tab in the server browser. If you see your own server you know it’s worked correctly and can get the IP from there.

I prefer to use no-ip because it gives me a free dns address that’s always synchronized to my IP, so if I set up a CS server, you just need to open the console and type connect serchan.servehttp.com and it would work.

Sorry to take so long in getting back to you guys. I successfully forwarded the appropriate ports, but now when someone tries to join my server it says “Server not responding.”

Please, help, someone.

If you’ve definitely configured port forwarding correctly, it might be a firewall problem. If you have any firewall software active, including Windows Firewall, make sure that it’s set to allow incoming connections on the appropriate ports.

192.168.2.10 = bad

127.0.0.1 = bad

You need to give the external ip to your friends and they have to enter it in the console by typing

connect (ip)

without the () of course…
to forward ports properly you need to forward UDP and TCP 27015 and 27016 to your current PC local IP address, to find that, go to network connections folder and open your primary network adapter and click details.

Is that we are now? Just friends? I thought we could be more! Oh Garthbartin, why must you break my heart!?

You are truly the EFG.

Sorry for ditching this thread for so long, I am bout to fix one problem when I get wrapped up in another. Anyway, I went into network connections and looked for details and couldn’t find any. Looked around for anything that my be an ip address and couldn’t find anything.
Found something where I could manually set my Ip or dns. Would I be able to use that?

Google is your friend.

76.246.19.194, so my friends can use that to connect to my server, or do I have to do the other part first? is that the ip I forward the ports to?

Do not change your IP in windows, don’t you people ever listen ? All you have to do is unblock port 27015 with your router(don’t ask me how to do it, look in the user manual) then use whatismyip.com to get your (unchangable) external IP.

You then run your server (online, open console and set sv_lan 0) and tell the external ip to your friend in the form of (your ip): (port) for example 76.66.123.321:27015

and all your friend has to do is open console and type connect 76.66.123.321:27015

or if your friend is dumb you can ask them to add the ip to his/her favourites instead, but that’s just silly.

Founded in 2004, Leakfree.org became one of the first online communities dedicated to Valve’s Source engine development. It is more famously known for the formation of Black Mesa: Source under the 'Leakfree Modification Team' handle in September 2004.