How to port forward shared ip? - portforwarding

My isp gave me a shared IP as usual. I asked them to give me a dedicated IP, but they said there are no dedicated ip packages. I read some articles about this, some people said it is possible to forward port on a shared IP. My ISP blocks every port possible.
I tried general port forwarding,, but it didn't work. Is it actually possible to port forward a shared ip?,, If it is, then how to do that? OR if every port is blocked, then how do the other applications work?

Related

How to Find My Proper Ip Address to Connect to Another Computer Remotely

My friend wanted to connect to my computer using Remote Desktop Connection. But the problem is I am confused what my Ip address is.
My computer is connected to the internet via router via broadband internet network. My ip address is dynamic.
Here, my main purpose is not only the remote connection but also learning how dynamic ip connect to another pc.
I searched for ip address on Google. They show me an ip address. But I think it is not mine, it's related with the router or broadband network. I also find a WAN ip (it is different from that i found on google) on router settings. It did't work.
I used Team Viewer. It worked perfectly. But I want to do that manually because I am going to make a multiplayer game on GM8.
It will helpful if someone explain about ip and port forwarding.
Teamviewer is a great tool, but uses different techniques than what you plan to do. Teamviewer always uses an outgoing connection and use a mediator on the Internet to connect you and the other PC.
You should ask your Internet provider if he technically enables you to be reachable from the outside Internet. Often this is not possible at all, even if you configure your router the correct way.
When you ask this you can ask him if you have a static IP.
It seems you are not aware of basics of IP networking, so I'd strongly advise against trying this on your router as wrong settings would render it useless. But here's for your information how port forwarding and IP Address and dynamic DNS can be used to solve your problem.
Basically your ISP is likely to give you a router having an IP address. If this IP address is a global IP address, it is possible to connect to this IP from outside. How do you find out whether your IP address is global? Look for your WAN IP address setting. If it is in 10.x.x.x or 192.168.x.x range, it's unlikely to be global and in that case it might not be possible to connect to your computer from outside - without help of a third server (some kind of a registration server, where you connect and register your application). The Registration server would determine your globally visible IP address and then convey it to another Application who is interested in connecting to it. This is somewhat complicated to make it work (but if you intend to make a game - this is something you'd have to do regardless). This is mostly how software like TeamViewer would work.
If you have a global IP address - it means it can technically be reached from anywhere in the world. In that case you could use port forwarding to make things work for you. Port forwarding works basically as follows - You expose a certain port (on TCP) to external world - say 8000 and then you make a setting like following on your router.
<TCP>-<RouterIP>-8000 --> <TCP>-<Your LAN IP><Your application Port>
(You can find you lan ip using ipconfig on windows or ifconfig on Linux).
Now all connections coming to port 8000 would be directed to your application. You might want to do it on UDP as well and the protocol above would change. That is how you 'open' a few ports to be accessible from outside, configure them on your router and then run corresponding applications on your network.
There's another thing called dynamic DNS, where the IP address you use if it is dynamic (and global) can be registered with a Dynamic DNS server so that you don't have to know and remember the current WAN IP Address. But that can be for later.
Hope that helps.

Does having a non-static ip stop you from port forwarding?

I've been trying to port forward on my router for the last couple days with little success. I just realized that my IP is not in fact static as it is supposed to be, would this cause ports to show as closed?
Not of course.
You can open ports on your firewall.
The problem is that your ip will change and someone to find you again needs the new one. Find your new one there http://whatismyipaddress.com/
You can work with a dns manager like http://www.noip.com/ to have a dns name.
Also the problem with the firewall ports is that your computer will change your IPV4 address and then you must edit your port configs again. Go to run->cmd->write ipconfig and see that your ip is different now.
No, if you setup port forwarding, it will work regardless of what your external IP address is and will remain in place even if your external IP address changes. In other words, traffic will be forwarded to the internal IP address on port you specify, even if the external IP address changes.
Now, the trick is going to be finding out your external IP address when you are working remotely. This is one creative way:
http://lifehacker.com/5737187/use-dropbox-to-find-the-ip-address-of-your-remote-computers
If you're having other issues, try looking into the firewall settings of your computer.

Nginx: one port to multiple IP fowarding

I am new to Nginx, and I am looking to have my router port forward a No Machine remote access (NX) request to a Nginx server which would then forward the request again to the correct Virtual Machine for viewing. I am trying to do this because my router only allows one port to one IP forwarding. I want one port to multiple IP forwarding. How would one go about doing this? The issue seems to be that No Machine only allows me to specify my router IP and no way of having Nginx know which machine to forward the request to that it is given from the router.
NginX is of no use here. It will work for HTTP and HTTPS , so Ignore it.
What you're actually thinking of is Port address translation. However PAT will work only when the connection is initiated from the secured side (your virtual machines in this case). So again, this is not helpful either.
The only other possible way is to have individual 1-to-1 NAT. Not sure about the type of router you have, but I had done something similar in the past using IPTables.
Besides, this question is more suited to ServerFault where you might get better responses than on StackOverflow.

Connecting Veency on Iphone from another network

I installed Veency Server on my old Iphone 3GS. I can connect to it from my other devices in local network, using its 192.168.2.xxx adress, but i cant connect from another network. I know that my router uses NAT so i tried port forwarding for ports 5500,5900 and 5800, then i tried to forward all ports in range 0:7000 but none of them seemed to work. What can i do ?
Thanks a million in advance.
Shouldn't be too complicated.
Set a DHCP reservation in your router for the device.
Forward the VNC port (Usually 5900) to the IP you set.
If you don't have a static external IP, get something like No-IP or DynDNS so you can have an unchanging URL to connect to.
That's about it, it's no different than making any other service external.
You should know that this will not be secure, and very easy for a man in the middle attack to happen.

How do I make my game connect to a server without real IP address?

I'm making an XNA game. When I started, I had a broadband connection with real IP, so I could host servers of any kind without any problem, but now I don't have that connection any more and I want to be able to let players from outside my local network connect to my server again. How do I do that? How do big guys at studios do that?
Cheap option:
Configure your home router (it does have real, but probably dynamic, IP address) to forward connections on some port of your liking to your server on the local network. Read up on Network Address Translation - that's the trick routers use to hide a network behind a single routable IP.
Setup a DDNS account somewhere, so people can find your game server by name instead of changing IP address.
Expensive options:
Buy static IP package from your ISP (not always available).
Deploy your game at a Hosting Service.
Generally there are two ways to connect two clients:
Give each client other client's IP address and let them connect to each other.
Give each client a mid-server's IP address and tunnel the traffic through it.
First way assumes each client has a real IP address and they both can be a server to one another. Second way is for when one or both clients don't have real IP address.

Resources