Redirect from internet to a LAN computer
Hi every one... this is my question...
I had a Web Server running in a Solaris Sparc for test in my enterprise LAN with private IP (192.168.2.XX) and no connection to Internet, but I need to demo my apps to external clients. I don't want to install the Web Server in my gateawy Internet server, is any way to redirect a port in the gateway to my Web Server...
Regards....
Hernan Dario
Quoted 6 lines · Hernan Dario Arredondo
Hi every one... this is my question...
I had a Web Server running in a Solaris Sparc for test in my enterprise LAN with private IP (192.168.2.XX) and no connection to Internet, but I need to demo my apps to external clients. I don't want to install the Web Server in my gateawy Internet server, is any way to redirect a port in the gateway to my Web Server...
So long as the private IP is routable from your netfilter machine, DNAT should do the trick. See the "NAT HOWTO" on the following page:
http://netfilter.org/documentation/index.html#documentation-howto
David
Quoted 4 lines · Hernan Dario Arredondo
Hi every one... this is my question...
I had a Web Server running in a Solaris Sparc for test in my enterprise LAN with private IP (192.168.2.XX) and no connection to Internet, but I need to demo my apps to external clients.
No connection to the Internet? Then it is not accessible to external
clients. You need a route to the outside world for the outside world to
reach the machine.
Quoted 2 lines
I don't want to install the Web Server in my gateawy Internet server, is any way to redirect a port in the gateway to my Web Server...
If you have a gateway router between the machine and the Internet then a simple NAT rule will allow people to see the web server.
Any tutorial linked from http://www.netfilter.org/documentation will tell you to set this up.
Antony.
Signature · 5 lines
Normal people think "If it ain't broke, don't fix it".
Engineers think "If it ain't broke, it doesn't have enough features yet".
Please reply to the list;
please don't CC me.