Welcome! Log In Create A New Profile

Advanced

Accessing local servers using local IP as sufix to public IP

Posted by ahakobyan 
Accessing local servers using local IP as sufix to public IP
November 08, 2019 02:04PM
I'm wondering if it is possible to setup NGIX in a way, where I could get access to any port (ex: 80) for any VM or server inside local network by using it's IP as part of a URL.

So let's say if my public IP is 111.111.111.111 and I have a webserver at home with a local ip 192.168.1.5, I could access the port 80 by typing:

http://111.111.111.111/192.168.1.5
or
http://111.111.111.111/192_168_1_5
Re: Accessing local servers using local IP as sufix to public IP
November 08, 2019 04:10PM
Use a local DNS (or hosts file).

---
nginx for Windows http://nginx-win.ecsds.eu/
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 97
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready