How to forward your ports

PORT FORWARDING<<<<<<

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 192.168.2.1) 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:

http://www.portforward.com/english/routers/port_forwarding/routerindex.htm

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 192.168.2.4" *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.

THERE WE GO PORTFORWARDING HAS BEEN COMPLETED, Now wasnt that easy? :)

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 192.168.2.4" *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 192.168.2.4" *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 192.168.2.4" *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:

http://www.portforward.com/

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

80.195.225.71:27015 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

ENJOY!!!!

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

Comments

  • The Fool avatar
    Availability
    Offline
    Points Level
    Drudge Points Level icon
    Drudge
    1,403 points
    Exemplary Feedback Level
    Guide Exemplary Feedback Level icon
    Guide
    21 EF's
    Account Age Level
    Elder Age Level icon
    Elder
    7 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    4 years ago:

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

    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
    • Report icon
    4 years ago:

    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
    Availability
    Offline
    Points Level
    Beggar Points Level icon
    Beggar
    409 points
    Exemplary Feedback Level
    Helper Exemplary Feedback Level icon
    Helper
    1 EF's
    Account Age Level
    Veteran Age Level icon
    Veteran
    6 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    5 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
    Availability
    Offline
    Account Age Level
    Veteran Age Level icon
    Veteran
    5 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    5 years ago:

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

    Bananite
  • Blaze612 avatar
    Availability
    Offline
    Account Age Level
    Elder Age Level icon
    Elder
    6 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    5 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
    Availability
    Offline
    Account Age Level
    Veteran Age Level icon
    Veteran
    5 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    5 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
    Availability
    Offline
    Points Level
    Beggar Points Level icon
    Beggar
    210 points
    Account Age Level
    Veteran Age Level icon
    Veteran
    6 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    5 years ago:

    Http://www.ipchicken.com/

    look for your ip here:)

  • Anti-Social avatar
    Availability
    Offline
    Points Level
    Beggar Points Level icon
    Beggar
    581 points
    Account Age Level
    Veteran Age Level icon
    Veteran
    6 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    6 years ago:

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

    ... avatar
    User Title
    ...
  • robert_011 avatar
    Availability
    Offline
    Account Age Level
    Elder Age Level icon
    Elder
    7 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    6 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.

    Bananite
  • Rafael De Jongh avatar
    Availability
    Offline
    Points Level
    Worker Points Level icon
    Worker
    35,572 points
    Exemplary Feedback Level
    Opinion Leader Exemplary Feedback Level icon
    Opinion Leader
    164 EF's
    Account Age Level
    Elder Age Level icon
    Elder
    7 years old
    Clearance Level
    Moderator Clearance Level icon
    Moderator
    Rafael De Jongh avatar
    Rafael De Jongh
    Apocalyptic Flag
    Apocalyptic
    Skinning/Modelling Expert
    • Report icon

Credits

Authors
n/a
n/a

Submitter

Majin_DiggZ avatar
Availability
Offline
Points Level
Drudge Points Level icon
Drudge
3,882 points
Exemplary Feedback Level
Helper Exemplary Feedback Level icon
Helper
1 EF's
Account Age Level
Elder Age Level icon
Elder
9 years old
Clearance Level
Member Clearance Level icon
Member

Majin_DiggZ
(Creator/Co-creator)

Rating

Expert+
9.0/10
Based off 12 rating(s)

Details

Genre
Other/Misc
Difficulty Level
Intermediate

Stats

Post Count
55
ViewCount
175,428
Date Added
8 years ago
Date Modified
-

Share

Code to use:

More embeddable images

Bookmark and Share