Some times it's nice to play some CS:GO with just friends, and not with public players. With a few steps, you can create your own game on your computer, (basically setting up a private server) and have your friends connect to the game you created. Thanks to the guys on the steam forums for helping with this.
1. Port Forward
You will need to log into your router and forward port 27015 to your computer. Here is an example of what it should look like.
2. Get your IP Address
You can use http://www.whatsmyip.org to find out what your IP address is. You'll need to send this IP address to the friends that you want to connect. If your IP address is: 184.108.40.206, then you'll want your friends to connect to 220.127.116.11:27015
3. Create your game.
Launch CS:GO, then go to "Create A Game" and choose the game type you want to play. Then start the game.
4. Console Commands
Once the game is up and running, you'll need to type in two console commands. Pull it up using your "~". If your "~" doesn't do anything, enable console in your game settings.
1. Open console and type "sv_lan 0"
2. Then type "sv_allow_lobby_connect_only 0"
Now all you have to do is get your friends in the game. They will need to launch CS:GO, open their console and type "connect (yourip):27015" Example: "connect 18.104.22.168:27015"