Author Topic: How to port forward your Router in order to play Co-op Mode  (Read 66649 times)

Burret

  • Donator
  • Member
  • *
  • Posts: 2075
  • Dead member since 2012
    • View Profile
Are you tired of using Hamachi/Tunggle to play Co-op with your friends?
No worries, this tutorial will show you how to port forward your router
without even messing around your Router's configuration.

First step, download this. You're gonna need it. (Make sure you have the latest Java installed before using.)

http://upnp-portmapper.sourceforge.net/

After that, open up Command Prompt and input 'ipconfig' in it then Enter.

Copy your ip address (ipv4) Example: 192.168.x.x

Step 2: Setting up Port Mapper
Open up PortMapper-1.9.5.jar. Click 'PortMapper Settings...'.
Make sure that the settings are the same as shown below:



Click save once you're done.

After that, click 'Connect' to search up your Router's port mappings.
(Make sure that Windows Firewall doesn't blocked through otherwise
it won't work and it will gives out an error.)


It should be something like this.



Step 3: Creating ports

Click 'Create' on the right side of the program. A new window will appear.

Description (Name of port)
Remost Host (Your ip address [ipvv4])
Internal Client (Your ip address [ipv4])


1. Give the Description a name like 'Cry of Fear Co-op'.
2. Insert your ip address in Remost Host. (Example: 192.168.x.x) [ipv4]
3. Internal Client will be same as Remote Host so ignore that.

Now to add ports, click 'add'. A new column will appear.
(Ports for Half-Life are 27015 or 27025.) So input these below as the screenshot as shown.
Protocol must be set to 'UDP'.



After that, click Save. A new port preset will appear.

Step 4: Applying port into Router

Click on 'Cry of Fear Co-op' from the Port Mapping Presets menu, and click 'Use'.
Then, a new column will be added above 'Port Mappings'.
After that, click the above 'Update' button to save your Router's configurations.

Step 5: Inviting friends to play your server
Invite your friends to play Cry of Fear. Give them your external ip address.
(If you don't know what is your external ip address, just google 'ip' and
copy that ip address). It should be like 118.xxx.xx.xxx. Ask your friends to
type this into the console.

Quote
connect 118.xxx.xx.xxx

Then boom, your friends should be able to join your server now. And no, you don't need to
keep that program on running in-order to play it.

(This also works for Half-Life, Counter-Strike, Counter-Strike: CZ since these games have the same port.)

(Notice: If your external ip address keeps changing and users unable to connect your server, just re-use the Port mapping preset you created and add it in Portmapping list, then update it.)

Hopefully this tutorial will be helpful for those who are having problems with
port forwarding. Got any questions/problems, post them here. Ciao. ;)
« Last Edit: 16 July, 2013, 03:29:15 AM by 不幸だのBulletProof »
Dead mod

FunkyDarkKnight

  • Guest
Re: How to port forward your Router in order to play Co-op Mode
« Reply #1 on: 12 July, 2013, 03:44:30 AM »
Just used this tool for another game (Killing Floor) and I can confirm it works fine. Good tutorial.

Shad

  • Member
  • Posts: 1125
    • View Profile
    • Email
Re: How to port forward your Router in order to play Co-op Mode
« Reply #2 on: 12 July, 2013, 03:26:24 PM »
Got it to work on Killing Floor after I disabled my firewall, I gotta check into what exactly it's blocking. Thank you for the tutorial BulletProof.

Braindawg

  • Donator
  • Member
  • *
  • Posts: 1807
  • Inactive
    • View Profile
Re: How to port forward your Router in order to play Co-op Mode
« Reply #3 on: 15 July, 2013, 02:19:47 AM »
I turned off my firewall and anything else blocking it, and it still says "ERROR Could not connect to router: Could not find router"

Anterly

  • Donator
  • Member
  • *
  • Posts: 1098
  • Bad Gamer
    • View Profile
    • Email
Re: How to port forward your Router in order to play Co-op Mode
« Reply #4 on: 15 July, 2013, 03:48:45 AM »
I turned off my firewall and anything else blocking it, and it still says "ERROR Could not connect to router: Could not find router"

so you made sure that java was allowed as an inbound rule?

Braindawg

  • Donator
  • Member
  • *
  • Posts: 1807
  • Inactive
    • View Profile
Re: How to port forward your Router in order to play Co-op Mode
« Reply #5 on: 15 July, 2013, 04:34:15 AM »
so you made sure that java was allowed as an inbound rule?

yes

FunkyDarkKnight

  • Guest
Re: How to port forward your Router in order to play Co-op Mode
« Reply #6 on: 15 July, 2013, 04:37:37 AM »
yes
Got a Static IP set up (not required but it may help)?
Got UPnP enabled?

Headshot?

  • Member
  • Posts: 351
  • Oh Sheit, monster.
    • View Profile
Re: How to port forward your Router in order to play Co-op Mode
« Reply #7 on: 15 July, 2013, 10:36:30 AM »
Could you sticky or add this to the sticky as a link for those who want Co-op to work (via Ports and not Hamachi)?

Burret

  • Donator
  • Member
  • *
  • Posts: 2075
  • Dead member since 2012
    • View Profile
Re: How to port forward your Router in order to play Co-op Mode
« Reply #8 on: 16 July, 2013, 03:28:38 AM »
Quote
(Notice: If your external ip address keeps changing and users unable to connect your server, just re-use the Port mapping preset you created and add it in Portmapping list then update it.)
Dead mod

Braindawg

  • Donator
  • Member
  • *
  • Posts: 1807
  • Inactive
    • View Profile
Re: How to port forward your Router in order to play Co-op Mode
« Reply #9 on: 16 July, 2013, 09:36:41 AM »
oh alright, I'll try it again when I get home.

also 2000 posts bitch

Nympfonic

  • Member
  • Posts: 41
  • Part-time Model Rigger & Model Creator
    • View Profile
    • Email
Re: How to port forward your Router in order to play Co-op Mode
« Reply #10 on: 29 July, 2013, 08:46:21 PM »
If your external IP address keeps changing, I found a way to make it into a "static" IP.

Note - You have to make an account on this website for it to work: http://www.noip.com/

How it works is that you can create your own "static" IP, for example; epicraft8.no-ip.org (I use this for hosting my own Minecraft Server and you have to use the "no-ip.org").
So you can create an IP with any name you want and save it with your current external IP;


Next, you download a program (has no viruses!) from their website called Dynamic Update Client (DUC):

This program updates your external IP address on your "static" IP address on their website.

Sorry for the long post :/

ruMpel

  • Lead & Level/General Artist
  • CoF Team
  • Member
  • *
  • Posts: 1164
    • View Profile
    • Cry of Fear
    • Email
Re: How to port forward your Router in order to play Co-op Mode
« Reply #11 on: 10 August, 2013, 05:06:32 AM »
Great! Sticked.

CaramelFuture

  • Donator
  • Member
  • *
  • Posts: 21
    • View Profile
Re: How to port forward your Router in order to play Co-op Mode
« Reply #12 on: 02 September, 2015, 10:51:12 PM »
Remember people, you can always use hamachi or tungle if for some reason you can't get this to work.