Server Port Forwarding

FredJr

Honorable
Nov 6, 2013
106
0
10,680
Hello,

I'm trying to setup port forwarding for my Plex media server but I'm having IP issues. I set the manual port to 38084 on Plex. Then I port forwarded the port 38084 on my router with the provided IP address that my router gave me (RT-N66R). It looks like this . .

Plex - 38084 - X.X.X.X - 38084 - TCP

However, it does not work. When i google "My Ip address", I get a completely different IP address than what my router provided. Sure enough, when I port forward on that IP address it works.

Why is the IP address on my router different than what google gives me? and why does the public ip address work?

Thanks guys.

(Trying to access content out of Local Network.)
 
Solution
Ok you have a Public IP address and a private IP address

What you googled is your Public IP address. This is the IP address given to you by your ISP and this is what the internet sees.

Your router takes that one IP address from the incoming WAN side of the router and bridges it to the outgoing LAN side of the router. On the LAN side the router assigns a different IP address to each and every computer. Without this it would be like sending all postal mail to a large office building with nothing more then the street address on the envelope, no name or suite # etc; that would make it impossible to figure out what mail goes where.

This also adds a very crucial first layer of security. If your PC IP address was the Public IP address...
Ok you have a Public IP address and a private IP address

What you googled is your Public IP address. This is the IP address given to you by your ISP and this is what the internet sees.

Your router takes that one IP address from the incoming WAN side of the router and bridges it to the outgoing LAN side of the router. On the LAN side the router assigns a different IP address to each and every computer. Without this it would be like sending all postal mail to a large office building with nothing more then the street address on the envelope, no name or suite # etc; that would make it impossible to figure out what mail goes where.

This also adds a very crucial first layer of security. If your PC IP address was the Public IP address then you very vulnerable to attacks over the internet. The router does not allow any unsolicited data to go through from the internet to your computers. This is why you have to port forward; the router has to be told that if there is any data on port 12345 to send it to computer X.

Thus the outside device has to have your public ip and port number, your router then has to know to send that port number to the private IP address of the desired computer.

I know I hit you with a lot of information, does that all make sense?
 
Solution