Counter-Strike: Source

How to forward your ports


Right, you have a router? Its impeeding your Dedicated Server or CS:S? well heres how to open the ports on your router to maximise packet input and output in CS:S etc.

Note: The screen shots here are taken of my router, the Dell 2350, this may not have the same layout as your router.

FIRST!! make sure you know an admin login for your router, if you dont, ask the person who configured it or if you have no knowledge of there being configured one, the default login for admin should be:

Username: admin Password: admin

ALSO!!! You will need to know your Interal IP. in order to get this you must:

a) Press start and then press "Run" b) Type "cmd" into the little box that appears c) When and if the black box comes up type in there "ipconfig/all" d) Lots of crap should come up if entered correctly e) Sift through the crap and find your "IP Address" this will be your internal one, we will use later

Right... NOW ONTO THE TUT!!!!!

Step 1) Type your router's IP into the address bar of your web browser (default is if not then ask someone who knows :) or you can find out for yourself by:

a) Pressing start and then pressing "Run" b) Typing "cmd" into the little box that comes up c) When and if the black box comes up type in there "ipconfig/all" d) Lots of crap should come up if entered correctly e) Scroll down and stare at the crap you should find a line called "Default Gateway" and then an IP THAT Ladies and Gentlemen is your routers IP, or at least should be.

Step 2) Now that you have entered the IP in and hit the "ENTER" key a login box should appear; you must now login with your login details, and example is screenshot A.

Step 3) Now you should have access to the router screen, depending on the router there should be a menu somewhere, that allows you to port forward, usually under advanced settings, Screen shot B.

If you have any poblems with this step, either contact me by PM or on X - fire my username is "diggdude" and ill hold your hand all the way through it if you like ;) or

simply go to:

Select you router from the millions on the page, then select any old program and find out how to access your port forwarding menu

A QUICK BREATHER Panting Just to check we are all ok:

Considering that you have done all of the above; you should:

a) Have full admin access to your router b) Be on the Port forwarding menu

Right... MOVING ON!

Step 4) Right we should be at the port forwarding menu. Screen shot C, We now need to add an entry to make the router open the ports we need to make our program fully functional, usually there is an add button or something simililar ;)

Step 5) A page or pop up should now appear and you can type in the details of your port forward. An example is Screen shot D

Step 6) Put in the details of the port you wish to forward, (for servers the default port should be 27015) if not, you can go in game (on CS:S) and open up the console and type "clientport" this should tell you the port CS:S will run on.

So for example if you want to port forward a server that is run on the port 27015, the layout should be something like this:

An example is Screen shot E

Check the enable box Service name: hl2server Incoming ports: 27015 - 27016 Destination IP Address: "Your Internal IP here, for example" *Destination ports: 27015 - 27016 Port type: Check both UDP and TCP, or if its a drop down menu select "both"

*= This may not appear on your menu

Dont worry if yout input menu doesnt look like the one I have, just input everything you can and press submit.


Next I will tell you all the ports you must open in order to make CS:S function properly in web games:

Like we did before with the server port forward, we must add a new entry by clicking "Add" or something similar (depending on your router)

Call this entry CSS1

it should be like so

Check the enable box Service name: CSS1 Incoming ports: 27020 - 27039 Destination IP Address: "Your Internal IP here, for example" *Destination ports: 27020 - 27039 Port type: Check TCP

Press submit

Now we need to create another, this time call it CSS2:

Check the enable box Service name: CSS2 Incoming ports: 1200 - 1200 Destination IP Address: "Your Internal IP here, for example" *Destination ports: 1200 - 1200 Port type: Check UDP

Press submit

Now we must make a final one, we will call it CSS3:

Check the enable box Service name: CSS3 Incoming ports: 27000 - 27015 Destination IP Address: "Your Internal IP here, for example" *Destination ports: 27000 - 27015 Port type: Check UDP

Press submit

DONE!! all the ports required for CS:S to run smoothly have been opened, and a happier CSS is only a button click away :D

Note: if you are port forwarding in order to make a server appear online, and you want the IP for people outside of your wireless network to connect with go here:

Your external IP is situated at the bottom, this is the one people will connect to.

so the IP for your server will be:

ExternalIP:Port For example for a server on the port 27015

If you have any Queries or are just plain STUCK dont hesitate to PM me or talk to me on X-fire my username is "diggdude" Im here to help


Oh noes! You're not a Member!

Want access to cool stuff? As a member you can:

  • Post. Give the submitter your thoughts on this Tutorial.
  • Say Thanks. Show your appreciation by sending the submitter points.
  • Stamp Posts. Let other posters know what you think of their posts.
  • Rate. Give this Tutorial a rating out of 10.
  • Flag. Alert moderators and warn members of a problem with this Tutorial.
  • Vote. Vote the submitter for the Monthly Awards.
  • Subscribe. Get notified when this submitter submits again.

Interested? Register or Login

  • The Fool avatar
    The Fool Offline
    1,419 points Ranked 2748th
    Member Joined 7 years ago

    Your tutorial is bland, wordy, and practically useless given the amount of real help that people can get from

    You're basically just regurgitating what you can learn much easier there. You don't even explain it well, nor do you go into any real detail about what port forwarding is. I would scrap this if I were you.


    Mapper, Graphic Artist avatar
    User Title
    Mapper, Graphic Artist
  • Anonymous

    Hi diggdude , i got a problem when intend to play CSS online with my brother on the same server via LAN router, we received a ping payout , it's just fine with only one player playing on the internet , but when my brother connected then , we both got a maximum ping and been kicked off , is there anything wrong with my port forwarding ? what should we do ?

    i have two computers connected A router and had shared network , what's the problem ? we have our own Valve Steam Account

  • t-party avatar
    t-party Offline
    409 points Ranked 8196th
    Member Joined 6 years ago
    Posted by omfgmushrooms Can some one please tell me what the defualt password is on a linksys router

    admin for pass and username

    its party time
  • omfgmushrooms avatar
    omfgmushrooms Offline
    Member Joined 6 years ago

    Can some one please tell me what the defualt password is on a linksys router

  • Blaze612 avatar
    Blaze612 Offline
    Member Joined 7 years ago

    I fixed my problem from other tutorial with server.cfg... but once again, there is another problem, Ive forwarded everything its sv_lan... all that but people cant join, AND its under LAN tab for some reason.. plz help

    Lets Play ;] avatar
    User Title
    Lets Play ;]
  • Mickeliten avatar
    Mickeliten Offline
    Member Joined 6 years ago
    Posted by -Pulse- My pass is not admin it says unauthorized

    U might not have a password... I don't

    Mmmm... Dooonuts
  • danteisbrutal avatar
    danteisbrutal Offline
    210 points Ranked 13409th
    Member Joined 6 years ago


    look for your ip here:)

  • Anti-Social avatar
    Anti-Social Offline
    581 points Ranked 6152nd
    Member Joined 7 years ago

    So what do u do after this to make a CSS server?

    ... avatar
    User Title
  • robert_011 avatar
    robert_011 Offline
    Member Joined 8 years ago

    Hi, I have created server and no one from my friends cant connect to server. I have Telsey router I followed your tutorial but i didn't how it goes in my case. Here is the picture and link, i hope YOU can help me to resolve this matter.

  • Rafael De Jongh avatar
    Rafael De Jongh avatar Offline
    34,745 points Ranked 115th
    55 medals 7 legendary 14 rare
    • 1st Place - Winter Textures Contest Medal icon
    • 1st Place - GameBanana Around the Globe Contest Medal icon
    • 1st Place - Sci-Fi Skinning Contest Medal icon
    • 1st Place - Winter Warfare Medal icon
    • 1st Place - Movie Replicas Modeling Contest Medal icon
    • Submitted 100 WiPs Medal icon
    • Submitted 200 Threads Medal icon
    • 2nd Place - CT 2020 Skinning Contest Medal icon
    • 2nd Place - Steampunk Pyro Skinning Contest Medal icon
    Apocalyptic Flag Affiliation: Apocalyptic
    Super Moderator Joined 8 years ago
    Rafael De Jongh avatar
    Rafael De Jongh
    Apocalyptic Flag
    Skinning/Modelling Expert


Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share




Majin_DiggZ avatar
Majin_DiggZ Offline
3,882 points Ranked 966th
Member Joined 10 years ago



Skill LevelRatingVotes
Expert+++ 9 to 10 30
Expert++ 9 to 10 20
Expert+ 9 to 10 10
Expert 9 to 10 5
Intermediate+ 8 to 8.99 3
Intermediate 7 to 7.99 3
Beginner+ 6 to 6.99 2
Beginner 5 to 5.99 2
Beginner- 0 to 4.99 2


Difficulty Level


Date Added
9 years ago