What is Port Forwarding

Port forwarding is a technique that lets other computers on the internet to connect to a computer on your home network.

Why do I need it

  • You wish to set up a server so you can play games with your friends over the internet,
  • You want to host a web server at your home
  • Or you want to host a file server, etc…

Setting up port forwarding

Note: If you have more than 1 router, please connect your PC to your main router that connects directly to the internet.

Finding your router and PC local IP addresses

  1. In the bottom right corner left from the clock, right-click on the monitor icon
  2. From the menu, select Open Network & Internet settingsOpen Network & Internet settings
  3. In the window that pops up, click on View your network propertiesView your network properties
  4. From the new window, write down IPv4 address and Default gateway addresses.IPv4 and Default gateway addresses
  5. Open your favorite web browser, and in the address bar type in the default gateway address that we got in the last step.
  6. Log in using the username and password that was provided by your Internet Service Provider (you can find it in the contract, at the bottom of the router or you can call and ask them).Sign in into router
  7. Next steps vary a LOT depending on which router you have, but you will need to look for Port Forwarding or Virtual Server or Security

Port forwarding on TECHNICOLOR TG799VAC router

After following previous steps and logging in into the router, follow the next steps:

  1. Click on Advanced ViewRouter settings - Advanced View
  2. Find WAN Services and click on the gears iconWAN Services
  3. Click Add new port mapping
  4. In the Name section, write the name of the server or whatever you want to call it
  5. For the Protocol section, you will probably need TCP, but you can put TCP/UDP as well.
  6. In the WAN port section, enter the port that is used for your server, for example, Quake 3 uses port 27960, Unturned uses ports 27015 and 27017, HTTP server runs on port 80โ€ฆ
  7. For the LAN port, use the same port as in the previous field
  8. In the Destination field, type in IPv4 address that we got in step 4 of Setting up Port Forwarding
  9. Click on the Plus iconAdding new Port Forwarding Rule

 

Thatโ€™s it! Congratulations, you just set up port forwarding on your router! ๐Ÿ˜€

If you need help, or you liked the post, feel free to write us a comment in the section below. ๐Ÿ™‚

Categories: Tutorials

7 Comments

SoulessAhole · December 14, 2019 at 9:25 pm

I use Gnu/Linux

reallyqq · April 19, 2020 at 1:09 pm

Hey!
So I have some application I want to set up on my network so other people can connect to it, but you also didn’t specify that giving your IP address to the public is EXTREMELY dangerous and can get you hacked or even destroy your devices at home.

You know any ways how to protect against that?
Maybe one option would be a firewall? Though I don’t think I should mess with that on my home network because I mostly have no idea what I am doing..

I would be glad if I could share my application(server side) with other people.
It is totally not a ChatRoom xD

    Professor n00bSlayer · May 7, 2020 at 7:43 pm

    I apologize for late reply, I somehow totally missed this comment ๐Ÿ˜ฎ

    Well, the job of the firewall is to block ports, and here we are opening those ports, so traffic can come in.

    I agree with you that giving your public IP address isn’t the smartest idea. However, I don’t think your devices can get “destroyed”, even getting hacked is highly improbable. Although, it is easy to get DDoS-ed. But even that never happened to us (yet).

    One way to “hide” your public IP would be to use free service like https://www.noip.com/ and I will write about it in one of the future tutorials.

    And of course, the easiest way to protect your PC is to keep your OS and other programs up to date.

    I hope this helped ๐Ÿ™‚

      reallyqq · May 7, 2020 at 10:03 pm

      Thank you for your reply.
      I think hiding one’s public IP is impossible since one can just ping the address and get the server’s real IP address, if I am not mistaken.
      Your reply helped.

        Professor n00bSlayer · May 8, 2020 at 1:11 pm

        Yeah, that’s why I put “hide” under quotation marks xD
        It’s mostly used because it’s easier to memorize domain name than IP address, also it looks nicer xD
        Cloudflare has good DDoS protection, but that’s only for web hosting.
        Anyway, I wouldn’t worry too much about it ๐Ÿ˜€

          reallyqq · May 10, 2020 at 3:24 pm

          You know, I am not sure how easy it is to change router’s public IP address.. in case someone does try to DDoS it

Leave a Reply

Your email address will not be published. Required fields are marked *