So I have a server. Its up and running. It is accessible by Proxy servers. Problem is - server is accessible out of local network by its global name and not accessible inside by that name...
I used windows NAT Traversal api (UPnP) to make my server acsessible out of local network...
How to make it avaliable for computers in local network acsess my server using that not localIP adress?
Long story with details:
On local machin I have a server (VLC for example broadcasting live video data from my webCamera onto some socket) I can access it on 127.0.0.1:5281 (loopback) and on my local network (I have ADSL Router with 4 ethernet ports + wify) by going on to 192.168.1.13:5281 - its my adress on local network created by router.
I used free opensource programm like this to Forward (bind) my port 4773 using UPnP to my external IP adress 126.96.36.199 (for example) as port 33333 so now any one out there (internet users, proxy servers etc) have access to that live stream just by going to url like 188.8.131.52:33333
But me, or users from my local netwok where my adress is 192.168.1.13 can not access my stream using 184.108.40.206:33333 only using 192.168.1.13:5281
My Question is why I can not get data from my stream using global adress, Is it possible (and if it is how) for me and guys from my local network to get stream data using global adress?
So as I said I used a programm that used protocoled requests (UPnP) to forward port. Can I configur (at least theoretically) my router using some protocol like UPnP for it to make my router\nat smart? Are there any such protocols?
So for me main point is to do it using programms that use open protocols as much as possible because I am a programmer and my point is to create programm that would allow ADSL users to open up their servers and acsess tham in a way I described in my question - by global adress (which btw can be temporary - I have a temporary one) =)
As for now I use UPnP libs in my programm to forward port. Now I need some protocol to configure routers to be a littel smarter. Does any one know such?